closes #4141, closes #4149

This commit is contained in:
barisusakli
2016-02-18 18:32:08 +02:00
parent 759b183967
commit 2fc385f723
7 changed files with 62 additions and 53 deletions

View File

@@ -215,10 +215,11 @@ define('forum/topic', [
}
function updateTopicTitle() {
var span = components.get('navbar/title').find('span');
if ($(window).scrollTop() > 50) {
components.get('navbar/title').find('span').text(ajaxify.data.title).show();
span.html(ajaxify.data.titleEscaped).show();
} else {
components.get('navbar/title').find('span').text('').hide();
span.html('').hide();
}
app.removeAlert('bookmark');
}