mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-24 00:09:41 +01:00
20 lines
303 B
JavaScript
20 lines
303 B
JavaScript
'use strict';
|
|
|
|
/* globals define */
|
|
|
|
define('forum/compose', [], function () {
|
|
var Compose = {};
|
|
|
|
Compose.init = function () {
|
|
var container = $('.composer');
|
|
|
|
if (container.length) {
|
|
$(window).trigger('action:composer.enhance', {
|
|
container: container,
|
|
});
|
|
}
|
|
};
|
|
|
|
return Compose;
|
|
});
|