Parcourir la source

fix issue with Tab names after F5 reload (#1885)

CauseFX il y a 3 ans
Parent
commit
a9cc53e56d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      js/functions.js

+ 1 - 1
js/functions.js

@@ -531,7 +531,7 @@ function cleanHash(hash){
     return hash.replaceAll('%20','-');
     return hash.replaceAll('%20','-');
 }
 }
 function dirtyHash(hash){
 function dirtyHash(hash){
-    hash = hash.replace('-','%20');
+    hash = hash.replaceAll('-','%20');
     return decodeURI(hash);
     return decodeURI(hash);
 }
 }
 // What the hell is this?  I don't remember this lol
 // What the hell is this?  I don't remember this lol