Node.js based forum software built for the modern web
navbar/title component
psychobunny2e33f1d40083
diff --git a/public/src/client/topic.js b/public/src/client/topic.jsindex 012e6ba728..4a597b4853 100644--- a/public/src/client/topic.js+++ b/public/src/client/topic.js@@ -20,7 +20,7 @@ define('forum/topic', [$(window).on('action:ajaxify.start', function(ev, data) {if (ajaxify.currentPage !== data.url) {navigator.hide();- $('.header-topic-title').find('span').text('').hide();+ components.get('navbar/title').find('span').text('').hide();app.removeAlert('bookmark');events.removeListeners();@@ -135,9 +135,9 @@ define('forum/topic', [function updateTopicTitle() {if($(window).scrollTop() > 50) {- $('.header-topic-title').find('span').text(ajaxify.variables.get('topic_name')).show();+ components.get('navbar/title').find('span').text(ajaxify.variables.get('topic_name')).show();} else {- $('.header-topic-title').find('span').text('').hide();+ components.get('navbar/title').find('span').text('').hide();}}