aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2011-02-21 22:45:19 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2011-02-21 22:45:19 +0100
commita1eaac8847dab64b9194a27d0413301e29f62e95 (patch)
tree2b5201e95e5ed7ab222e216fe8898ad0fe60b807 /ui
parentb3e849bf93849073313a337cb3c13cc03751f6b3 (diff)
downloadjquery-ui-a1eaac8847dab64b9194a27d0413301e29f62e95.tar.gz
jquery-ui-a1eaac8847dab64b9194a27d0413301e29f62e95.zip
Spinner: Use jQuery's focus() method instead of DOM method to set focus
to input. Fixes testsuite in IE6.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.spinner.js2
1 files changed, 1 insertions, 1 deletions
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);
},