1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-05 12:13:23 +02:00
Files
php-phpbb/phpBB/adm/style/avatars.js
2012-12-04 00:49:37 +01:00

16 lines
347 B
JavaScript

(function($) { // Avoid conflicts with other libraries
"use strict";
function avatar_hide() {
$('#avatar_options > div').hide();
var selected = $('#avatar_driver').val();
$('#avatar_option_' + selected).show();
}
avatar_hide();
$('#avatar_driver').bind('change', avatar_hide);
})(jQuery); // Avoid conflicts with other libraries