summaryrefslogtreecommitdiffstats
path: root/js/application.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/application.js')
-rw-r--r--js/application.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/application.js b/js/application.js
index c61af77..7f58e45 100644
--- a/js/application.js
+++ b/js/application.js
@@ -4,12 +4,12 @@
$('.multiselect').multiSelect({});
$('#ms-optgroup .ms-selectable, #ms-outsideCountries .ms-selectable').find('li.ms-elem-selectable').hide();
$('.ms-optgroup-label').click(function(){
- if ($(this).hasClass('collapse')){
+ if ($(this).hasClass('ms-collapse')){
$(this).nextAll('li').hide();
- $(this).removeClass('collapse');
+ $(this).removeClass('ms-collapse');
} else {
$(this).nextAll('li:not(.ms-selected)').show();
- $(this).addClass('collapse');
+ $(this).addClass('ms-collapse');
}
});
@@ -83,4 +83,4 @@
return false;
});
});
-})(jQuery) \ No newline at end of file
+})(jQuery)