mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 15:44:45 -04:00
Update to prevent all empty link change hash
This commit is contained in:
parent
3c0667813c
commit
e00daee6c0
2 changed files with 9 additions and 4 deletions
|
@ -1754,6 +1754,10 @@ ui.toolbar.uploadImage.bind('change', function (e) {
|
|||
ui.toc.dropdown.click(function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
// prevent empty link change hash
|
||||
$('a[href="#"]').click(function (e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
//modal actions
|
||||
var revisions = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue