diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-05-17 11:48:49 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-05-17 11:48:49 +0900 |
commit | 0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b (patch) | |
tree | 4c2f0a64b51dc58eb1d8e8834a14632e1611e7c9 /client | |
parent | 6147bfac8278696beab6aa40ff12a98000b4f6a4 (diff) | |
download | wekan-0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b.tar.gz wekan-0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b.tar.bz2 wekan-0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b.zip |
Fix disable a href=“#” link
Diffstat (limited to 'client')
-rw-r--r-- | client/lib/escapeActions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/lib/escapeActions.js b/client/lib/escapeActions.js index dc6b05b7..666e33e0 100644 --- a/client/lib/escapeActions.js +++ b/client/lib/escapeActions.js @@ -134,3 +134,7 @@ $(document).on('click', (evt) => { EscapeActions.clickExecute(evt.target, 'multiselection'); } }); + +$(document).on('click', 'a[href=#]', (evt) => { + evt.preventDefault(); +}); |