aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r--phpBB/adm/style/acp_users_avatar.html2
-rw-r--r--phpBB/adm/style/avatars.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/adm/style/acp_users_avatar.html b/phpBB/adm/style/acp_users_avatar.html
index bc3a19a25e..0a72bb0b62 100644
--- a/phpBB/adm/style/acp_users_avatar.html
+++ b/phpBB/adm/style/acp_users_avatar.html
@@ -32,8 +32,8 @@
<fieldset class="quick">
<input type="submit" name="update" value="{L_SUBMIT}" class="button1" />
- </fieldset>
{S_FORM_TOKEN}
+ </fieldset>
</form>
<!-- INCLUDEJS avatars.js -->
diff --git a/phpBB/adm/style/avatars.js b/phpBB/adm/style/avatars.js
index 882bcfe36d..a53814c15f 100644
--- a/phpBB/adm/style/avatars.js
+++ b/phpBB/adm/style/avatars.js
@@ -2,14 +2,14 @@
"use strict";
-function avatar_simplify() {
+function avatar_hide() {
$('#avatar_options > div').hide();
var selected = $('#avatar_driver').val();
$('#avatar_option_' + selected).show();
}
-avatar_simplify();
-$('#avatar_driver').bind('change', avatar_simplify);
+avatar_hide();
+$('#avatar_driver').bind('change', avatar_hide);
})(jQuery); // Avoid conflicts with other libraries