From d5d4c1b3ed6cd56c1b3afd2817b5be73dd59fcfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 24 Aug 2022 16:39:29 -0400 Subject: [PATCH] fix crash --- public/src/client/topic/threadTools.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/src/client/topic/threadTools.js b/public/src/client/topic/threadTools.js index 403e9abfba..8b6a6fb0f4 100644 --- a/public/src/client/topic/threadTools.js +++ b/public/src/client/topic/threadTools.js @@ -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');