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:
@@ -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>
|
||||
|
@@ -1182,4 +1182,4 @@ a.imageset {
|
||||
|
||||
#notification_list .footer > a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user