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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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'; |
|
|
|
|