Browse Source

修复未实时预览不能全屏预览

master
WuHuan 10 years ago
parent
commit
9e8ff26406
  1. 9
      editormd.js

9
editormd.js

@ -1965,14 +1965,15 @@
save : function() { save : function() {
if (timer === null)
var _this = this;
var state = this.state;
var settings = this.settings;
if (timer === null && !(!settings.watch && state.preview))
{ {
return this; return this;
} }
var _this = this;
var state = this.state;
var settings = this.settings;
var cm = this.cm; var cm = this.cm;
var cmValue = cm.getValue(); var cmValue = cm.getValue();
var previewContainer = this.previewContainer; var previewContainer = this.previewContainer;

Loading…
Cancel
Save