Files
NodeBB/public/src/client/compose.js
gasoved b0a24d6dd5 refactor: var to const and let (#9885)
* refactor: var to const and let

* fix: missed global bootbox usage

* refactor: align with eslint expectations
2021-10-12 10:26:18 -04:00

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;
});