From a1eaac8847dab64b9194a27d0413301e29f62e95 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Mon, 21 Feb 2011 22:45:19 +0100 Subject: [PATCH] Spinner: Use jQuery's focus() method instead of DOM method to set focus to input. Fixes testsuite in IE6. --- ui/jquery.ui.spinner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index 6d4d10d51..9dd0afe9b 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -257,7 +257,7 @@ $.widget('ui.spinner', { if (this.timer) { window.clearTimeout(this.timer); } - this.element[0].focus(); + this.element.focus(); this.spinning = false; this._trigger('stop', event); }, -- 2.39.5