From 1f9821c000adbf2ebeccacf9506a7df68956574b Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 10 Mar 2015 15:40:49 -0400 Subject: Dialog: Remove animation stopping in destroy Effects wrappers are no longer used, so the workaround and test are no longer necessary. This fixes tests in IE8 with jQuery 1.7. Effectively a complete revert of 13505e5945e5532c3d56424d50ad109c665d205f Closes gh-1481 --- ui/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/dialog.js b/ui/dialog.js index 0775fbe8d..166f68b0f 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -168,7 +168,7 @@ return $.widget( "ui.dialog", { // Without detaching first, the following becomes really slow .detach(); - this.uiDialog.stop( true, true ).remove(); + this.uiDialog.remove(); if ( this.originalTitle ) { this.element.attr( "title", this.originalTitle ); -- cgit v1.2.3