Browse Source

Merge pull request #592 from gabrigcl/dev Closes #583

Problem event stop:preview not firing solved
pull/606/head
Artur Arseniev 8 years ago
committed by GitHub
parent
commit
db66ef980f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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