aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-18 19:20:54 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-18 19:20:54 -0500
commit2c06c2bd3646585a5b02e6269be655287352a667 (patch)
tree4b8930d2ba2ca54ccc8b29fc4549148af20773b1 /phpBB/styles/subsilver2/template
parentf96dac335287f2fd51ff6628facbc8b6af6a517f (diff)
downloadforums-2c06c2bd3646585a5b02e6269be655287352a667.tar
forums-2c06c2bd3646585a5b02e6269be655287352a667.tar.gz
forums-2c06c2bd3646585a5b02e6269be655287352a667.tar.bz2
forums-2c06c2bd3646585a5b02e6269be655287352a667.tar.xz
forums-2c06c2bd3646585a5b02e6269be655287352a667.zip
[ticket/11103] Declare $ for jQuery, check for instance of, newlines at eof
PHPBB3-11103
Diffstat (limited to 'phpBB/styles/subsilver2/template')
-rw-r--r--phpBB/styles/subsilver2/template/overall_footer.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_footer.html b/phpBB/styles/subsilver2/template/overall_footer.html
index 210159732e..11989feca6 100644
--- a/phpBB/styles/subsilver2/template/overall_footer.html
+++ b/phpBB/styles/subsilver2/template/overall_footer.html
@@ -15,6 +15,8 @@
<script type="text/javascript">
// <![CDATA[
<!-- IF S_NOTIFICATIONS_DISPLAY -->
+(function($) { // Avoid conflicts with other libraries
+
$(document).click(function(e) {
var target = e.target;
@@ -22,6 +24,8 @@ $(document).click(function(e) {
$('#notification_list').hide();
}
});
+
+})(jQuery); // Avoid conflicts with other libraries
<!-- ENDIF -->
// ]]>
</script>