1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[feature/avatars] Add subsilver2 support

This implementation might not be perfect though.

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-18 20:47:29 +01:00
parent 1c3b3621db
commit d8510356d6
6 changed files with 98 additions and 51 deletions

View File

@@ -0,0 +1,15 @@
(function($) { // Avoid conflicts with other libraries
"use strict";
function avatar_simplify() {
$('.[class^="av_option_"]').hide();
var selected = $('#avatar_driver').val();
$('.av_option_' + selected).show();
}
avatar_simplify();
$('#avatar_driver').bind('change', avatar_simplify);
})(jQuery); // Avoid conflicts with other libraries