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 0f99e9c commit d699725Copy full SHA for d699725
ui/dialog.js
@@ -229,10 +229,10 @@ return $.widget( "ui.dialog", {
229
230
_moveToTop: function( event, silent ) {
231
var moved = false,
232
- zIndicies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
+ zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
233
return +$( this ).css( "z-index" );
234
}).get(),
235
- zIndexMax = Math.max.apply( null, zIndicies );
+ zIndexMax = Math.max.apply( null, zIndices );
236
237
if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) {
238
this.uiDialog.css( "z-index", zIndexMax + 1 );
0 commit comments