summaryrefslogtreecommitdiffhomepage
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/index.html4
-rw-r--r--html/webbox.js2
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();
}