diff options
author | Roland Reichwein <rr@reichwein.it> | 2018-02-28 09:35:07 +0100 |
---|---|---|
committer | Roland Reichwein <rr@reichwein.it> | 2018-02-28 09:35:07 +0100 |
commit | bc9181917182e27324ff0437cf0d10abd91fa581 (patch) | |
tree | 4c3141f0ab45235fc7bc2492f5090a96b3f11dfe /html | |
parent | 1fb8bf91a6a796c307e31338cc9b850c41d6dd6d (diff) |
Compatibility for different build OSes
Diffstat (limited to 'html')
-rw-r--r-- | html/index.html | 4 | ||||
-rw-r--r-- | html/webbox.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/html/index.html b/html/index.html index d33d678..e9ea819 100644 --- a/html/index.html +++ b/html/index.html @@ -12,14 +12,14 @@ <table> <tr> <td class="title">Webbox</td> - <td class="menusymbol" onclick="showMenu();"><img src="menu.png"/></td> + <td class="menusymbol" onclick="showMenu();"><img src="menu.png" alt=""/></td> </tr> </table> <input id="uploadfile" type="file" onchange="onUploadFile();" multiple hidden/> <table class="menu"> <tr> <td class="firsttd"></td> - <td class="entry" onclick="refresh();"><img src="refresh-inverted.png"/></td> + <td class="entry" onclick="refresh();"><img src="refresh-inverted.png" alt=""/></td> </tr> </table> </div> diff --git a/html/webbox.js b/html/webbox.js index 09a3979..55df1f5 100644 --- a/html/webbox.js +++ b/html/webbox.js @@ -57,7 +57,7 @@ function loadContents(dir) { } - xhr.open("GET", "bin/query" + currentDir + "?command=list", true); + xhr.open("GET", "bin/query" + dir + "?command=list", true); xhr.setRequestHeader("Authorization", "Basic " + btoa(username + ":" + password)); xhr.send(); } |