mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/avatars] Add self-invoking closure around avatars.js
PHPBB3-10018
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
(function($) { // Avoid conflicts with other libraries
|
||||
|
||||
"use strict";
|
||||
|
||||
function avatar_simplify() {
|
||||
$('#av_options').hide();
|
||||
|
||||
@@ -7,3 +11,5 @@ function avatar_simplify() {
|
||||
|
||||
avatar_simplify();
|
||||
$('#avatar_driver').on('change', avatar_simplify);
|
||||
|
||||
})(jQuery); // Avoid conflicts with other libraries
|
||||
|
Reference in New Issue
Block a user