app/assets/javascripts/admin/dropdown.js in trusty-cms-3.5.2 vs app/assets/javascripts/admin/dropdown.js in trusty-cms-3.5.3
- old
+ new
@@ -7,14 +7,14 @@
$(link).on('click', function (event) {
event.preventDefault();
$(this).toggleClass('selected');
Dropdown.findMenu(this).closest('.dropdown_wrapper').slideToggle();
})
- };
+ }
}
Dropdown.findMenu = function(link) {
- var match = $(link).attr('href').match(/\#(.+)$/)[1];
+ var match = $(link).attr('href').match(/#(.+)$/)[1];
return $('#' + match);
}
}(window.Dropdown = window.Dropdown || {}, jQuery));