Merge pull request #4430 from RaceProUK/master

Allow for a little scrolling before dismissing bookmark alert
This commit is contained in:
Barış Soner Uşaklı
2016-03-21 22:07:01 +02:00

View File

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