linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [45] Style the selected link when id equals zer


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [45] Style the selected link when id equals zero too.
Date: Sat, 09 Apr 2011 17:05:29 +0000

Revision: 45
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=45
Author:   valkov
Date:     2011-04-09 17:05:28 +0000 (Sat, 09 Apr 2011)
Log Message:
-----------
Style the selected link when id equals zero too.

Modified Paths:
--------------
    trunk/src/lm_interface_hd_links.js

Modified: trunk/src/lm_interface_hd_links.js
===================================================================
--- trunk/src/lm_interface_hd_links.js  2011-04-09 15:47:18 UTC (rev 44)
+++ trunk/src/lm_interface_hd_links.js  2011-04-09 17:05:28 UTC (rev 45)
@@ -114,7 +114,9 @@
 // is distinguished.
 LinternaMagica.prototype.select_hd_link_in_list = function(element,id)
 {
-    if (typeof(element) != "object" || !id)
+    if (typeof(element) != "object" ||
+       // ID = zero is an option.
+       id == "undefined")
     {
        return element;
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]