From aa1eb94fa7cc1ed9dd7066aea8d08bac60b25821 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 25 Sep 2014 22:17:26 -0600 Subject: [PATCH] Ignore redundant calls to $::attachToDom --- spec/spec-helper.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 4d232a14b..667d89e17 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -357,7 +357,7 @@ $.fn.enableKeymap = -> not e.originalEvent.defaultPrevented $.fn.attachToDom = -> - @appendTo($('#jasmine-content')) + @appendTo($('#jasmine-content')) unless @isOnDom() $.fn.simulateDomAttachment = -> $('').append(this)