Allow for a little scrolling before dismissing bookmark alert

This is just in case someone scrolls a little accidentally; the alert remains so they can still follow it if they want to
v1.18.x
RaceProUK 9 years ago
parent a68811cad2
commit fd854b134d

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

Loading…
Cancel
Save