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:
@@ -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
|
||||
|
Reference in New Issue
Block a user