Skip to content

Commit d95c23a

Browse files
committed
Dialog: Fix typo
Closes gh-1447 Thanks Spencer Davis
1 parent 8fdfea5 commit d95c23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ return $.widget( "ui.dialog", {
234234

235235
_moveToTop: function( event, silent ) {
236236
var moved = false,
237-
zIndicies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
237+
zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
238238
return +$( this ).css( "z-index" );
239239
}).get(),
240-
zIndexMax = Math.max.apply( null, zIndicies );
240+
zIndexMax = Math.max.apply( null, zIndices );
241241

242242
if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) {
243243
this.uiDialog.css( "z-index", zIndexMax + 1 );

0 commit comments

Comments
 (0)