Slightly more specific selector. Looks only in the notices in the
content area
This commit is contained in:
parent
835799ff16
commit
0c5c834827
|
@ -280,13 +280,13 @@ function NoticeAttachments() {
|
||||||
timeout : 0
|
timeout : 0
|
||||||
};
|
};
|
||||||
|
|
||||||
$('a.attachment').click(function() {
|
$('#content .notice a.attachment').click(function() {
|
||||||
$().jOverlay({url: $('address .url')[0].href+'/attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'});
|
$().jOverlay({url: $('address .url')[0].href+'/attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'});
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
var t;
|
var t;
|
||||||
$("body:not(#shownotice) a.thumbnail").hover(
|
$("body:not(#shownotice) #content .notice a.thumbnail").hover(
|
||||||
function() {
|
function() {
|
||||||
var anchor = $(this);
|
var anchor = $(this);
|
||||||
$("a.thumbnail").children('img').hide();
|
$("a.thumbnail").children('img').hide();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user