mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-28 10:19:50 +01:00
fix crash
This commit is contained in:
@@ -355,10 +355,11 @@ define('forum/topic/threadTools', [
|
||||
unfollow: '[[topic:not-watching]]',
|
||||
ignore: '[[topic:ignoring]]',
|
||||
};
|
||||
// TODO: doesnt work on bs5
|
||||
translator.translate(titles[state], function (translatedTitle) {
|
||||
$('[component="topic/watch"] button')
|
||||
$('[component="topic/watch"]')
|
||||
.attr('title', translatedTitle)
|
||||
.tooltip('fixTitle');
|
||||
.tooltip();
|
||||
});
|
||||
|
||||
let menu = components.get('topic/following/menu');
|
||||
|
||||
Reference in New Issue
Block a user