Просмотр исходного кода

fixed tab names not encoding correctly (#1885)

CauseFX 3 лет назад
Родитель
Сommit
afd151f91c
1 измененных файлов с 1 добавлено и 1 удалено
  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');