ep_rocketchat
Version:
Integrating rocketchat with Etherpad
21 lines (15 loc) • 759 B
JavaScript
;
const padcookie = require('ep_etherpad-lite/static/js/pad_cookie').padcookie;
const handleRocketChatNotifications = require('./handleRocketChatNotifications/handleRocketChatNotifications').handleRocketChatNotifications;
const handleNewMentionButton = require('./handleRocketChatNotifications/methods/helper/newMentionHelper').handleNewMentionButton;
exports.aceInitialized = () => {
$('#chaticon').hide();
$('#options-stickychat').prop('checked', false);
padcookie.setPref('chatAlwaysVisible', false);
$('#options-stickychat').parent().hide();
$('#options-chatandusers').parent().hide();
// $("#editorcontainer iframe").addClass('fullHeightEditor')
handleRocketChatNotifications();
handleNewMentionButton();
return [];
};