Skip to content

Commit

Permalink
fix: #8629 and change undo timeout to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Sep 9, 2020
1 parent 7ab8707 commit 65d94a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/src/client/topic/move.js
Expand Up @@ -65,7 +65,7 @@ define('forum/topic/move', ['categorySelector', 'alerts'], function (categorySel
title: '[[topic:thread_tools.move]]',
message: '[[topic:topic_move_success, ' + selectedCategory.name + ']]',
type: 'success',
timeout: 5000,
timeout: 10000,
timeoutfn: function () {
moveTopics();
},
Expand All @@ -91,7 +91,6 @@ define('forum/topic/move', ['categorySelector', 'alerts'], function (categorySel
return app.alertError(err.message);
}

app.alertSuccess('[[topic:topic_move_success, ' + selectedCategory.name + ']]');
if (typeof Move.onComplete === 'function') {
Move.onComplete();
}
Expand Down

0 comments on commit 65d94a3

Please sign in to comment.