瀏覽代碼

Update page title within updateDisplay function call

This fixes #6.
dom111 6 年之前
父節點
當前提交
2499fb001f
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 二進制
      src/webdav-min.js
  2. 2 0
      src/webdav.js

二進制
src/webdav-min.js


+ 2 - 0
src/webdav.js

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