From b564908946a26e80cf33c1c1d1b8a18ade1b483a Mon Sep 17 00:00:00 2001 From: Pandao Date: Sun, 8 Feb 2015 16:50:53 +0800 Subject: [PATCH] fix bugs (fullscreen) --- src/js/editormd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/editormd.js b/src/js/editormd.js index f5b0b5e..dc22732 100644 --- a/src/js/editormd.js +++ b/src/js/editormd.js @@ -740,7 +740,7 @@ */ hideInfoDialog : function() { - $("html,body").css("overflow-x", null); + $("html,body").css("overflow-x", ""); this.editor.find("." + this.classPrefix + "dialog-info").fadeOut(); return this; @@ -1318,7 +1318,7 @@ this.toolbar.find(".fa[name=fullscreen]").parent().removeClass("active"); - $("html,body").css("overflow", null); + $("html,body").css("overflow", ""); editor.css({ position : "",