Skip to content

Commit

Permalink
Fix an issue where the links would not be followed
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisOuellet committed Feb 26, 2024
1 parent 81a8839 commit 8dad7ab
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions script.js
Expand Up @@ -117,11 +117,7 @@ jQuery(document).ready(function() {
jQuery('#writr__toolbar .hook .node').each(function() {
const dropdown = jQuery(this);
dropdown.find('div.li').click(function(event) {
event.preventDefault();
const trigger = jQuery(this);
trigger.find('a').click(function(event) {
event.preventDefault();
});
dropdown.find('> ul').toggle(0,function(){
trigger.attr('aria-expanded', jQuery(this).is(':visible'));
});
Expand Down

0 comments on commit 8dad7ab

Please sign in to comment.