Skip to content

Commit

Permalink
Fix user dropdown on assessments view (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
damianhxy authored Jun 6, 2022
1 parent 64e7e5c commit 2521f65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/layouts/_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
edge: 'right'
});

$('.dropdown-trigger').dropdown({
coverTrigger: false
});
// Using this over jQuery approach to avoid any issues when other libraries override .dropdown()
var elems = document.querySelectorAll('.dropdown-trigger');
M.Dropdown.init(elems, { coverTrigger: false });
});
</script>

Expand Down

0 comments on commit 2521f65

Please sign in to comment.