mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-18 21:42:55 +01:00
* refactor: var to const and let * fix: missed global bootbox usage * refactor: align with eslint expectations
19 lines
291 B
JavaScript
19 lines
291 B
JavaScript
'use strict';
|
|
|
|
|
|
define('forum/compose', ['hooks'], function (hooks) {
|
|
const Compose = {};
|
|
|
|
Compose.init = function () {
|
|
const container = $('.composer');
|
|
|
|
if (container.length) {
|
|
hooks.fire('action:composer.enhance', {
|
|
container: container,
|
|
});
|
|
}
|
|
};
|
|
|
|
return Compose;
|
|
});
|