aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/avatars.js
blob: 26ea24c0db286eab22a9a1fb28d06ef76916e7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(function($) {  // Avoid conflicts with other libraries

"use strict";

function avatarHide() {
    $('#avatar_options > div').hide();

    var selected = $('#avatar_driver').val();
    $('#avatar_option_' + selected).show();
}

avatarHide();
$('#avatar_driver').bind('change', avatarHide);

})(jQuery); // Avoid conflicts with other libraries