aboutsummaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js')
-rw-r--r--static/js/weabot.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/weabot.js b/static/js/weabot.js
index a79834d..5a92836 100644
--- a/static/js/weabot.js
+++ b/static/js/weabot.js
@@ -377,6 +377,9 @@ document.addEventListener("DOMContentLoaded", function(e) {
if (types.includes("JPG")) types.push("JPEG");
postform.file.addEventListener("change", filePreview);
}
+
+ var del = document.getElementById("delform");
+ if (del) del.password.value = weabot.password;
window.addEventListener("hashchange", checkhighlight);