Skip to content

Commit d699725

Browse files
committed
Dialog: Fix typo
Closes jquerygh-1447 Thanks Spencer Davis (cherry picked from commit d95c23a)
1 parent 0f99e9c commit d699725

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
@@ -229,10 +229,10 @@ return $.widget( "ui.dialog", {
229229

230230
_moveToTop: function( event, silent ) {
231231
var moved = false,
232-
zIndicies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
232+
zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
233233
return +$( this ).css( "z-index" );
234234
}).get(),
235-
zIndexMax = Math.max.apply( null, zIndicies );
235+
zIndexMax = Math.max.apply( null, zIndices );
236236

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

0 commit comments

Comments
 (0)