Author: sevein
Date: Wed Oct 20 10:21:22 2010
New Revision: 8329

Log:
Cosmetic change.

Modified:
   trunk/js/autocomplete.js

Modified: trunk/js/autocomplete.js
==============================================================================
--- trunk/js/autocomplete.js    Wed Oct 20 08:30:56 2010        (r8328)
+++ trunk/js/autocomplete.js    Wed Oct 20 10:21:22 2010        (r8329)
@@ -55,7 +55,7 @@
 
                                   // Toggle <ul/> based on children length
                                   // jQuery.toggle() expects a boolean 
parameter
-                                  $ul.toggle(Boolean($ul.children().length));
+                                  $ul.toggle(!!$ul.children().length);
                                 });
                             })
                           .appendTo($ul.show());
@@ -250,7 +250,7 @@
 
                                     // Toggle <ul/> based on children length
                                     // jQuery.toggle() expects a boolean 
parameter
-                                    $ul.toggle(Boolean($ul.children().length));
+                                    $ul.toggle(!!$ul.children().length);
                                   });
                               })
                             .appendTo($ul.show());
@@ -451,7 +451,7 @@
 
                                         // Toggle <ul/> based on children 
length
                                         // jQuery.toggle() expects a boolean 
parameter
-                                        
$ul.toggle(Boolean($ul.children().length));
+                                        $ul.toggle(!!$ul.children().length);
                                       });
 
                                     // Cancel addition of new choice

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to