mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-07 23:59:22 +03:00
Ignore redundant calls to $::attachToDom
This commit is contained in:
parent
8723e69f1c
commit
aa1eb94fa7
@ -357,7 +357,7 @@ $.fn.enableKeymap = ->
|
||||
not e.originalEvent.defaultPrevented
|
||||
|
||||
$.fn.attachToDom = ->
|
||||
@appendTo($('#jasmine-content'))
|
||||
@appendTo($('#jasmine-content')) unless @isOnDom()
|
||||
|
||||
$.fn.simulateDomAttachment = ->
|
||||
$('<html>').append(this)
|
||||
|
Loading…
Reference in New Issue
Block a user