Remove old openBanWindow function

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-06-23 23:01:26 -07:00
parent 1f994dca3e
commit e30012d6d0

View File

@@ -39,26 +39,6 @@
{{block.super}} {{block.super}}
<script> <script>
/*
function openBanWindow(e, banUrl) {
e.preventDefault();
let banUrl = e.target.getAttribute("data-ban-url");
if (window.banWindow) {
window.banWindow.close();
}
window.banWindow = new WinBox("New ban", {
url: banUrl,
x: "center",
y: "center",
root: document.body,
onclose: function(force) {
window.top.banWindow = null;
window.top.location.reload();
}
});
}
*/
function onLoad(e) { function onLoad(e) {
window.banWindow = null; window.banWindow = null;
} }