app/assets/javascripts/blacklight/select_submit.js in blacklight-4.3.0 vs app/assets/javascripts/blacklight/select_submit.js in blacklight-4.4.0
- old
+ new
@@ -9,10 +9,10 @@
$(dropdown).find('ul.css-dropdown li.btn>a').html(prefix + selection_key + suffix);
});
}
-$(document).ready(function() {
+Blacklight.onLoad(function() {
$('#sort-form').hide();
$('#sort-dropdown').show();
Blacklight.update_css_dropdown('#sort-dropdown', "Sort by ", "")