소스 검색

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