diff --git a/ui/jquery.ui.mask.js b/ui/jquery.ui.mask.js index 1c003a81bd3..9f3e7adb256 100644 --- a/ui/jquery.ui.mask.js +++ b/ui/jquery.ui.mask.js @@ -253,7 +253,7 @@ $.widget( "ui.mask", { }, _paint: function( focused ) { if ( focused === undefined ) { - focus = this.element[ 0 ] === document.activeElement; + focused = this.element[ 0 ] === document.activeElement; } // calling _getValue updates empty var value = this._getValue();