diff --git a/phpBB/adm/style/avatars.js b/phpBB/adm/style/avatars.js index a53814c15f..26ea24c0db 100644 --- a/phpBB/adm/style/avatars.js +++ b/phpBB/adm/style/avatars.js @@ -2,14 +2,14 @@ "use strict"; -function avatar_hide() { +function avatarHide() { $('#avatar_options > div').hide(); var selected = $('#avatar_driver').val(); $('#avatar_option_' + selected).show(); } -avatar_hide(); -$('#avatar_driver').bind('change', avatar_hide); +avatarHide(); +$('#avatar_driver').bind('change', avatarHide); })(jQuery); // Avoid conflicts with other libraries diff --git a/phpBB/styles/prosilver/template/avatars.js b/phpBB/styles/prosilver/template/avatars.js index a53814c15f..26ea24c0db 100644 --- a/phpBB/styles/prosilver/template/avatars.js +++ b/phpBB/styles/prosilver/template/avatars.js @@ -2,14 +2,14 @@ "use strict"; -function avatar_hide() { +function avatarHide() { $('#avatar_options > div').hide(); var selected = $('#avatar_driver').val(); $('#avatar_option_' + selected).show(); } -avatar_hide(); -$('#avatar_driver').bind('change', avatar_hide); +avatarHide(); +$('#avatar_driver').bind('change', avatarHide); })(jQuery); // Avoid conflicts with other libraries diff --git a/phpBB/styles/subsilver2/template/avatars.js b/phpBB/styles/subsilver2/template/avatars.js index 733056a32d..146aca94d3 100644 --- a/phpBB/styles/subsilver2/template/avatars.js +++ b/phpBB/styles/subsilver2/template/avatars.js @@ -2,14 +2,14 @@ "use strict"; -function avatar_hide() { +function avatarHide() { $('.[class^="avatar_option_"]').hide(); var selected = $('#avatar_driver').val(); $('.avatar_option_' + selected).show(); } -avatar_hide(); -$('#avatar_driver').bind('change', avatar_hide); +avatarHide(); +$('#avatar_driver').bind('change', avatarHide); })(jQuery); // Avoid conflicts with other libraries