diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-02-23 16:33:18 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-02-23 16:33:18 -0500 |
commit | d95c23ae6c44e7d82289bb0a82eb1a7840a7a5f2 (patch) | |
tree | f4668b90ee2b450f08bb67e2c434efe88810ab66 /ui/dialog.js | |
parent | 8fdfea5fe9f6804840bd98396c1b3992360369a4 (diff) | |
download | jquery-ui-d95c23ae6c44e7d82289bb0a82eb1a7840a7a5f2.tar.gz jquery-ui-d95c23ae6c44e7d82289bb0a82eb1a7840a7a5f2.zip |
Dialog: Fix typo
Closes gh-1447
Thanks Spencer Davis
Diffstat (limited to 'ui/dialog.js')
-rw-r--r-- | ui/dialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/dialog.js b/ui/dialog.js index 8381443ae..150449b41 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -234,10 +234,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 ); |