mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 23:42:54 +01:00
19 lines
282 B
JavaScript
19 lines
282 B
JavaScript
'use strict';
|
|
|
|
|
|
define('forum/compose', [], function () {
|
|
var Compose = {};
|
|
|
|
Compose.init = function () {
|
|
var container = $('.composer');
|
|
|
|
if (container.length) {
|
|
$(window).trigger('action:composer.enhance', {
|
|
container: container,
|
|
});
|
|
}
|
|
};
|
|
|
|
return Compose;
|
|
});
|