hgfd
This commit is contained in:
@@ -3065,7 +3065,7 @@ window.cancelAnimFrame = (function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check for thumbnail links on index page
|
// Check for thumbnail links on index page
|
||||||
const thumbnail = target.closest('.posts > a');
|
const thumbnail = target.closest('.posts > a:not(.notif-item)');
|
||||||
if (thumbnail && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.metaKey) {
|
if (thumbnail && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.metaKey) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
// Thumbnails inherit context (e.g. from Tag Index)
|
// Thumbnails inherit context (e.g. from Tag Index)
|
||||||
@@ -5984,6 +5984,8 @@ class NotificationSystem {
|
|||||||
} else {
|
} else {
|
||||||
window.location.href = href;
|
window.location.href = href;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user