summaryrefslogtreecommitdiffstats
path: root/client/lib/escapeActions.js
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-05-17 11:48:49 +0900
committernztqa <nztqa@users.noreply.github.com>2017-05-17 11:48:49 +0900
commit0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b (patch)
tree4c2f0a64b51dc58eb1d8e8834a14632e1611e7c9 /client/lib/escapeActions.js
parent6147bfac8278696beab6aa40ff12a98000b4f6a4 (diff)
downloadwekan-0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b.tar.gz
wekan-0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b.tar.bz2
wekan-0e7c79bd1a4e9866784d9e1d2ee2d693b93c885b.zip
Fix disable a href=“#” link
Diffstat (limited to 'client/lib/escapeActions.js')
-rw-r--r--client/lib/escapeActions.js4
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();
+});