Remove an unnecessary fix for Safari

pull/1/head
yflory 7 years ago
parent d3e947f17e
commit 4db4f66786

@ -778,13 +778,13 @@ define([
}); });
editor.on('instanceReady', waitFor()); editor.on('instanceReady', waitFor());
}).nThen(function (/*waitFor*/) { }).nThen(function (/*waitFor*/) {
if (Ckeditor.env.safari) { /*if (Ckeditor.env.safari) {
var fixIframe = function () { var fixIframe = function () {
$('iframe.cke_wysiwyg_frame').height($('#cke_1_contents').height()); $('iframe.cke_wysiwyg_frame').height($('#cke_1_contents').height());
}; };
$(window).resize(fixIframe); $(window).resize(fixIframe);
fixIframe(); fixIframe();
} }*/
Links.addSupportForOpeningLinksInNewTab(Ckeditor)({editor: editor}); Links.addSupportForOpeningLinksInNewTab(Ckeditor)({editor: editor});
Cryptpad.onError(function (info) { Cryptpad.onError(function (info) {
if (info && info.type === "store") { if (info && info.type === "store") {

Loading…
Cancel
Save