1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11103] Declare $ for jQuery, check for instance of, newlines at eof

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-10-18 19:20:54 -05:00
parent f96dac3352
commit 2c06c2bd36
4 changed files with 8 additions and 4 deletions

View File

@@ -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>

View File

@@ -1182,4 +1182,4 @@ a.imageset {
#notification_list .footer > a {
display: block;
}
}