mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-08 16:19:17 +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
|
not e.originalEvent.defaultPrevented
|
||||||
|
|
||||||
$.fn.attachToDom = ->
|
$.fn.attachToDom = ->
|
||||||
@appendTo($('#jasmine-content'))
|
@appendTo($('#jasmine-content')) unless @isOnDom()
|
||||||
|
|
||||||
$.fn.simulateDomAttachment = ->
|
$.fn.simulateDomAttachment = ->
|
||||||
$('<html>').append(this)
|
$('<html>').append(this)
|
||||||
|
Loading…
Reference in New Issue
Block a user