mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Remove leading slash in list of imported files
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -51,7 +51,7 @@ function importZIP() {
|
||||
$("#modal-import-success-title").text("Import successful");
|
||||
var text = "<p>Processed files:<ul>";
|
||||
for (var i = 0; i < data.files.length; i++) {
|
||||
text += "<li>/" + utils.escapeHtml(data.files[i]) + "</li>";
|
||||
text += "<li>" + utils.escapeHtml(data.files[i]) + "</li>";
|
||||
}
|
||||
|
||||
text += "</ul></p>";
|
||||
|
||||
Reference in New Issue
Block a user