Skip to content

Commit

Permalink
NBBIB-453 Reload on citation close to avoid behaviour reset
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Aug 14, 2024
1 parent 0aeee4f commit 342f775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom/modules/nbbib_core/js/cite_copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
}
);
});
$('.ui-dialog-titlebar-close').click(function() {
$('.ui-dialog-titlebar-close').click(function(e) {
e.preventDefault();
location.reload(true);
});
});
Expand Down

0 comments on commit 342f775

Please sign in to comment.