aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/avatars.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/avatars.js')
-rw-r--r--phpBB/adm/style/avatars.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/style/avatars.js b/phpBB/adm/style/avatars.js
index cb19aa9b7a..2068bdbbc4 100644
--- a/phpBB/adm/style/avatars.js
+++ b/phpBB/adm/style/avatars.js
@@ -3,13 +3,13 @@
"use strict";
function avatar_simplify() {
- $('#av_options').hide();
+ $('#av_options > div').hide();
var selected = $('#avatar_driver').val();
$('#av_option_' + selected).show();
}
avatar_simplify();
-$('#avatar_driver').on('change', avatar_simplify);
+$('#avatar_driver').bind('change', avatar_simplify);
})(jQuery); // Avoid conflicts with other libraries