diff --git a/res/forum/admin/admin.html b/res/forum/admin/admin.html
index 9e41652..eb735ec 100644
--- a/res/forum/admin/admin.html
+++ b/res/forum/admin/admin.html
@@ -68,20 +68,4 @@
}
});
}
-
- function selection(type, value)
- {
- return new Promise(function(resolve)
- {
- $.ajax
- ({
- url: "./res/forum/admin/" + type + "_selection.html",
- dataType: "html",
- success: function(result)
- {
- resolve(result.replace("value=\"" + value, "selected value=\"" + value));
- }
- })
- });
- }
\ No newline at end of file
diff --git a/res/forum/script.js b/res/forum/script.js
index 3809daf..2a5b4bc 100644
--- a/res/forum/script.js
+++ b/res/forum/script.js
@@ -15,6 +15,22 @@ function show(file)
});
}
+function selection(type, value)
+{
+ return new Promise(function(resolve)
+ {
+ $.ajax
+ ({
+ url: "./res/forum/admin/" + type + "_selection.html",
+ dataType: "html",
+ success: function(result)
+ {
+ resolve(result.replace("value=\"" + value, "selected value=\"" + value));
+ }
+ })
+ });
+}
+
function inject_info(id, username, postfix)
{
$.ajax