This commit is contained in:
barisusakli
2015-04-20 14:00:43 -04:00
parent e309a188c3
commit dd92b06f16
2 changed files with 9 additions and 8 deletions

View File

@@ -82,7 +82,8 @@ define('forum/topic', [
function handleBookmark(tid) {
var bookmark = localStorage.getItem('topic:' + tid + ':bookmark');
var postIndex = getPostIndex();
if (postIndex) {
if (postIndex && window.location.search.indexOf('page=') === -1) {
navigator.scrollToPost(postIndex - 1, true);
} else if (bookmark && (!config.usePagination || (config.usePagination && pagination.currentPage === 1)) && ajaxify.variables.get('postcount') > 1) {
app.alert({