Quellcode durchsuchen

fixed tab names not encoding correctly (#1885)

CauseFX vor 4 Jahren
Ursprung
Commit
afd151f91c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      js/functions.js

+ 1 - 1
js/functions.js

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