Permalink
Browse files

coding standards

  • Loading branch information...
1 parent 6752dc3 commit de55f2a3cf2ff8c0561c97c6cf26f7a500606e49 @raul72 committed Oct 18, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 multiselect_search.js
View
@@ -89,7 +89,7 @@
window.multiselect_search_defaults = function(settings) {
default_settings = config_merge(default_settings, settings);
- }
+ };
window.multiselect_search = function (ob, settings) {
if (!ob || !ob.nodeName || ob.nodeName.toString().toLowerCase() !== 'select' || !ob.multiple) {
@@ -230,11 +230,11 @@
}
}
- addEventSimple(select, 'change', function (e) {
+ addEventSimple(select, 'change', function () {
var i;
for (i in list) {
if (list.hasOwnProperty(i)) {
- if (!(ctrl_key_down || cmd_key_down) && list[i].visible == false) {
+ if (!(ctrl_key_down || cmd_key_down) && !list[i].visible) {
list[i].o_node.selected = list[i].n_node.selected = false;
} else {
list[i].o_node.selected = list[i].n_node.selected;
@@ -259,4 +259,4 @@
return instance;
}
-})();
+})();

0 comments on commit de55f2a

Please sign in to comment.