Преглед изворни кода

fixed tab names not encoding correctly (#1885)

CauseFX пре 3 година
родитељ
комит
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');