From 3931d600d7ec2f3065edce2cdd64f71b0f94e8d5 Mon Sep 17 00:00:00 2001 From: Spencer Davis Date: Mon, 9 Feb 2015 09:06:02 -0700 Subject: [PATCH] Fix indices spelling error. --- ui/dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/dialog.js b/ui/dialog.js index a86f654d2a1..a1067ac2018 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -233,10 +233,10 @@ return $.widget( "ui.dialog", { _moveToTop: function( event, silent ) { var moved = false, - zIndicies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() { + zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() { return +$( this ).css( "z-index" ); }).get(), - zIndexMax = Math.max.apply( null, zIndicies ); + zIndexMax = Math.max.apply( null, zIndices ); if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) { this.uiDialog.css( "z-index", zIndexMax + 1 );