Skip to content

Node.js based forum software built for the modern web

removed 2 titles

barisusakli254267e5770b
diff --git a/public/language/en_GB/topic.json b/public/language/en_GB/topic.json
index 50860d4bb4..a53e56c9ef 100644
--- a/public/language/en_GB/topic.json
+++ b/public/language/en_GB/topic.json
@@ -30,9 +30,7 @@
"flag_success": "This post has been flagged for moderation.",
"deleted_message": "This thread has been deleted. Only users with thread management privileges can see it.",
- "following_topic.title": "Following Topic",
"following_topic.message": "You will now be receiving notifications when somebody posts to this topic.",
- "not_following_topic.title": "Not Following Topic",
"not_following_topic.message": "You will no longer receive notifications from this topic.",
"login_to_subscribe": "Please register or log in in order to subscribe to this topic.",
diff --git a/public/src/forum/topic/threadTools.js b/public/src/forum/topic/threadTools.js
index ec03d81200..b3f728a253 100644
--- a/public/src/forum/topic/threadTools.js
+++ b/public/src/forum/topic/threadTools.js
@@ -85,13 +85,7 @@ define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
$('.posts .follow').toggleClass('btn-success', state).attr('title', state ? 'You are currently receiving updates to this topic' : 'Be notified of new replies in this topic');
if(alert) {
- app.alert({
- alert_id: 'topic_follow',
- timeout: 2500,
- title: state ? '[[topic:following_topic.title]]' : '[[topic:not_following_topic.title]]',
- message: state ? '[[topic:following_topic.message]]' : '[[topic:not_following_topic.message]]',
- type: 'success'
- });
+ app.alertSucces(state ? '[[topic:following_topic.message]]' : '[[topic:not_following_topic.message]]');
}
}