Browse Source

Problem event stop:preview not firing solved

pull/592/head
gabri.gcl 9 years ago
parent
commit
7e017a0aae
  1. 2
      src/commands/view/Preview.js

2
src/commands/view/Preview.js

@ -28,7 +28,7 @@ module.exports = {
this.helper.className = pfx + 'off-prv fa fa-eye-slash';
editorEl.appendChild(this.helper);
this.helper.onclick = () => {
that.stop(editor);
editor.stopCommand('preview');
};
}
this.helper.style.display = 'inline-block';

Loading…
Cancel
Save