Skip to content

Commit

Permalink
Merge pull request gitcoinco#1513 from arun1595/selectmenu-fix
Browse files Browse the repository at this point in the history
Fix selectmenu initialization issue
  • Loading branch information
thelostone-mc authored Jun 25, 2018
2 parents defa275 + 96925a0 commit 7c5c841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/v2/js/pages/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ var set_sidebar_defaults = function() {

if (localStorage['order_by']) {
$('#sort_option').val(localStorage['order_by']);
$('#sort_option').selectmenu('refresh');
$('#sort_option').selectmenu().selectmenu('refresh');
}

for (var i = 0; i < sidebar_keys.length; i++) {
Expand Down

0 comments on commit 7c5c841

Please sign in to comment.