mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 11:31:23 +01:00
Merge pull request #4430 from RaceProUK/master
Allow for a little scrolling before dismissing bookmark alert
This commit is contained in:
@@ -221,7 +221,9 @@ define('forum/topic', [
|
||||
} else {
|
||||
span.html('').hide();
|
||||
}
|
||||
app.removeAlert('bookmark');
|
||||
if ($(window).scrollTop() > 300) {
|
||||
app.removeAlert('bookmark');
|
||||
}
|
||||
}
|
||||
|
||||
Topic.calculateIndex = function(index, elementCount) {
|
||||
|
||||
Reference in New Issue
Block a user