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 8fdfea5 commit d95c23aCopy full SHA for d95c23a
ui/dialog.js
@@ -234,10 +234,10 @@ return $.widget( "ui.dialog", {
234
235
_moveToTop: function( event, silent ) {
236
var moved = false,
237
- zIndicies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
+ zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
238
return +$( this ).css( "z-index" );
239
}).get(),
240
- zIndexMax = Math.max.apply( null, zIndicies );
+ zIndexMax = Math.max.apply( null, zIndices );
241
242
if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) {
243
this.uiDialog.css( "z-index", zIndexMax + 1 );
0 commit comments