Browse Source

Update page title within updateDisplay function call

This fixes #6.
dom111 6 years ago
parent
commit
2499fb001f
2 changed files with 2 additions and 0 deletions
  1. BIN
      src/webdav-min.js
  2. 2 0
      src/webdav.js

BIN
src/webdav-min.js


+ 2 - 0
src/webdav.js

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