Browse Source

fixed tab names not encoding correctly (#1885)

CauseFX 3 years ago
parent
commit
afd151f91c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/functions.js

+ 1 - 1
js/functions.js

@@ -528,7 +528,7 @@ function cleanClass(string){
 }
 function cleanHash(hash){
     hash = encodeURI(hash);
-    return hash.replace('%20','-');
+    return hash.replaceAll('%20','-');
 }
 function dirtyHash(hash){
     hash = hash.replace('-','%20');