Skip to content
Permalink
Browse files

Dialog: Fix typo

Closes gh-1447

Thanks Spencer Davis
  • Loading branch information
scottgonzalez committed Feb 23, 2015
1 parent 8fdfea5 commit d95c23ae6c44e7d82289bb0a82eb1a7840a7a5f2
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 );

0 comments on commit d95c23a

Please sign in to comment.
You can’t perform that action at this time.