aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-06-13 08:00:45 -0400
committerScott González <scott.gonzalez@gmail.com>2012-06-13 08:00:45 -0400
commit9608e981498846b3727cc4dad723a7fa7252fd86 (patch)
tree591ab885bf28ef77be87b2121fe9ecb461e7358f /ui/jquery.ui.spinner.js
parente8b623207abcae500ffb3860378543906cd4e2b2 (diff)
downloadjquery-ui-9608e981498846b3727cc4dad723a7fa7252fd86.tar.gz
jquery-ui-9608e981498846b3727cc4dad723a7fa7252fd86.zip
Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off.
Diffstat (limited to 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index b01feec9a..d6ebc6d87 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -54,13 +54,13 @@ $.widget( "ui.spinner", {
this._value( this.element.val(), true );
this._draw();
- this._bind( this._events );
+ this._on( this._events );
this._refresh();
// turning off autocomplete prevents the browser from remembering the
// value when navigating through history, so we re-enable autocomplete
// if the page is unloaded before the widget is destroyed. #7790
- this._bind( this.window, {
+ this._on( this.window, {
beforeunload: function() {
this.element.removeAttr( "autocomplete" );
}