1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +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

@@ -32,8 +32,8 @@
<fieldset class="quick">
<input type="submit" name="update" value="{L_SUBMIT}" class="button1" />
</fieldset>
{S_FORM_TOKEN}
</fieldset>
</form>
<!-- INCLUDEJS avatars.js -->

View File

@@ -2,14 +2,14 @@
"use strict";
function avatar_simplify() {
function avatar_hide() {
$('#avatar_options > div').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