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

Correctly show paths with spaces in the page title

dom111 пре 6 година
родитељ
комит
1a27c550e6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/webdav.js

+ 1 - 1
src/webdav.js

@@ -364,7 +364,7 @@
             return _files;
         },
         _updateDisplay = function() {
-            document.title = _path + ' - ' + window.location.host;
+            document.title = decodeURIComponent(_path) + ' - ' + window.location.host;
 
             _sortFiles();
             _renderFiles();