Explorar o código

Fix escaping special character as advised at
https://github.com/jquery/jquery/issues/2885

Thanks to xet7 !

Lauri Ojansivu %!s(int64=6) %!d(string=hai) anos
pai
achega
ebba71077e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/lib/escapeActions.js

+ 1 - 1
client/lib/escapeActions.js

@@ -135,6 +135,6 @@ $(document).on('click', (evt) => {
   }
 });
 
-$(document).on('click', 'a[href=#]',  (evt) => {
+$(document).on('click', 'a[href=\\#]',  (evt) => {
   evt.preventDefault();
 });