@ -78,7 +78,12 @@ define('forum/topic/threadTools', ['forum/topic/fork', 'forum/topic/move'], func
setFollowState(state);
app.alertSuccess(state ? '[[topic:following_topic.message]]' : '[[topic:not_following_topic.message]]');
app.alert({
alert_id: 'follow_thread',
message: state ? '[[topic:following_topic.message]]' : '[[topic:not_following_topic.message]]',
type: 'success',
timeout: 5000
});
return false;
@ -62,7 +62,7 @@ define('alerts', function() {
alert.find('p').html(params.message);
alert.attr('class', 'alert alert-dismissable alert-' + params.type);
clearTimeout(alert.attr('timeoutId'));
clearTimeout(parseInt(alert.attr('timeoutId'), 10));
startTimeout(alert, params.timeout);
alert.children().fadeOut(100);