1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[feature/avatars] Minor variable naming fixes

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-12-04 00:49:37 +01:00
parent ce653db491
commit b42ca792fd
8 changed files with 18 additions and 18 deletions

View File

@@ -2,14 +2,14 @@
"use strict";
function avatar_simplify() {
function avatar_hide() {
$('.[class^="avatar_option_"]').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