diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-06-27 21:00:00 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-06-27 21:00:00 +0200 |
commit | 13f4bfabbeab77698f06c3431931b73ebedc587c (patch) | |
tree | f63cc44c6cbf0495b828cd0dd9f0c61737e4df76 /phpBB | |
parent | 2f3581fe3ef928d91f12c442ab5e4890c6620f58 (diff) | |
download | forums-13f4bfabbeab77698f06c3431931b73ebedc587c.tar forums-13f4bfabbeab77698f06c3431931b73ebedc587c.tar.gz forums-13f4bfabbeab77698f06c3431931b73ebedc587c.tar.bz2 forums-13f4bfabbeab77698f06c3431931b73ebedc587c.tar.xz forums-13f4bfabbeab77698f06c3431931b73ebedc587c.zip |
[feature/avatars] Fixup avatars.js rewrite
PHPBB3-10018
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/adm/style/avatars.js | 4 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/avatars.js | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/phpBB/styles/prosilver/template/avatars.js b/phpBB/styles/prosilver/template/avatars.js index cb19aa9b7a..2068bdbbc4 100644 --- a/phpBB/styles/prosilver/template/avatars.js +++ b/phpBB/styles/prosilver/template/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 |