aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-06-27 18:37:23 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-06-27 18:37:23 +0200
commit2f3581fe3ef928d91f12c442ab5e4890c6620f58 (patch)
tree62c737005357cea0d37dff221e00a7efe98df172 /phpBB/adm
parentb060667ac102109c0c8f198925bb81b489a30f34 (diff)
downloadforums-2f3581fe3ef928d91f12c442ab5e4890c6620f58.tar
forums-2f3581fe3ef928d91f12c442ab5e4890c6620f58.tar.gz
forums-2f3581fe3ef928d91f12c442ab5e4890c6620f58.tar.bz2
forums-2f3581fe3ef928d91f12c442ab5e4890c6620f58.tar.xz
forums-2f3581fe3ef928d91f12c442ab5e4890c6620f58.zip
[feature/avatars] Add self-invoking closure around avatars.js
PHPBB3-10018
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/style/avatars.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/adm/style/avatars.js b/phpBB/adm/style/avatars.js
index 252081ee08..cb19aa9b7a 100644
--- a/phpBB/adm/style/avatars.js
+++ b/phpBB/adm/style/avatars.js
@@ -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