fix: no global bootbox (#9879)

* fix: require bootbox (easy ones)

* fix: require bootbox (ugly ones)

* fix(eslint): a lengthy line
This commit is contained in:
gasoved
2021-10-08 22:25:36 +03:00
committed by GitHub
parent 94c4f87b2f
commit 227456fb17
35 changed files with 110 additions and 77 deletions

View File

@@ -8,7 +8,8 @@ define('forum/topic/threadTools', [
'forum/topic/posts',
'api',
'hooks',
], function (components, translator, handleBack, posts, api, hooks) {
'bootbox',
], function (components, translator, handleBack, posts, api, hooks, bootbox) {
var ThreadTools = {};
ThreadTools.init = function (tid, topicContainer) {