Explorar o código

Update page title within updateDisplay function call

This fixes #6.
dom111 %!s(int64=6) %!d(string=hai) anos
pai
achega
2499fb001f
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. BIN=BIN
      src/webdav-min.js
  2. 2 0
      src/webdav.js

BIN=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();
         },