From 615173ef91ec087e6882b3b20ef78d6819180670 Mon Sep 17 00:00:00 2001 From: bugron Date: Mon, 14 Sep 2015 08:35:39 +0400 Subject: [PATCH] fixes 'only 11 lines' issue --- client/commonFramework.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/commonFramework.js b/client/commonFramework.js index df99ca90f0..6e5bb4f2cf 100644 --- a/client/commonFramework.js +++ b/client/commonFramework.js @@ -794,6 +794,8 @@ $(document).ready(function() { allSeeds; myCodeMirror.setValue(replaceSafeTags(editorValue)); + myCodeMirror.refresh(); + if (typeof $preview.html() !== 'undefined') { $preview.load(function() { if (initPreview) {