We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c7f69 commit d4f2556Copy full SHA for d4f2556
ui/dialog.js
@@ -155,6 +155,7 @@ return $.widget( "ui.dialog", {
155
var next,
156
originalPosition = this.originalPosition;
157
158
+ this._stopTrackingInstance();
159
this._destroyOverlay();
160
161
this.element
@@ -623,6 +624,17 @@ return $.widget( "ui.dialog", {
623
624
return instances;
625
},
626
627
+ _stopTrackingInstance: function() {
628
+ var i = 0,
629
+ instances = this._trackingInstances();
630
+
631
+ for ( ; i < instances.length; i++ ) {
632
+ if ( instances[ i ] === this ) {
633
+ instances.splice( i, 1 );
634
+ }
635
636
+ },
637
638
_minHeight: function() {
639
var options = this.options;
640
0 commit comments