From 4db4f667866da6dee53944e1d3d29589d60e0144 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 30 Aug 2017 11:14:58 +0200 Subject: [PATCH] Remove an unnecessary fix for Safari --- www/pad/inner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pad/inner.js b/www/pad/inner.js index 28bfd6fa0..badb215fa 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -778,13 +778,13 @@ define([ }); editor.on('instanceReady', waitFor()); }).nThen(function (/*waitFor*/) { - if (Ckeditor.env.safari) { + /*if (Ckeditor.env.safari) { var fixIframe = function () { $('iframe.cke_wysiwyg_frame').height($('#cke_1_contents').height()); }; $(window).resize(fixIframe); fixIframe(); - } + }*/ Links.addSupportForOpeningLinksInNewTab(Ckeditor)({editor: editor}); Cryptpad.onError(function (info) { if (info && info.type === "store") {