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