mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-08 16:19:17 +03:00
Don't update HTML if view has no parent
This commit is contained in:
parent
d8011fe853
commit
e202904b78
@ -59,6 +59,7 @@ class MarkdownPreview extends View
|
||||
$.ajax(request)
|
||||
|
||||
setHtml: (html) ->
|
||||
return unless @hasParent()
|
||||
@markdownBody.html(html)
|
||||
@markdownSpinner.hide()
|
||||
@markdownBody.show()
|
||||
|
Loading…
Reference in New Issue
Block a user