Selaa lähdekoodia

Update page title within updateDisplay function call

This fixes #6.
dom111 6 vuotta sitten
vanhempi
commit
2499fb001f
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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;
         },
         _updateDisplay = function() {
+            document.title = _path + ' - ' + window.location.host;
+
             _sortFiles();
             _renderFiles();
         },