1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-28 02:01:52 +02:00

[feature/avatars] Fixup avatars.js rewrite

PHPBB3-10018
This commit is contained in:
Igor Wiedler 2012-06-27 21:00:00 +02:00
parent 2f3581fe3e
commit 13f4bfabbe
2 changed files with 4 additions and 4 deletions
phpBB
adm/style
styles/prosilver/template

@ -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

@ -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