Преглед на файлове

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();