aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index c13fe9407..2c2da22d1 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -224,11 +224,8 @@ $.widget('ui.spinner', {
return true;
},
_mousewheel: function() {
- if (!$.fn.mousewheel)
- return;
var self = this;
- this.element.mousewheel(function(event, delta) {
- delta = ($.browser.opera ? -delta / Math.abs(delta) : delta);
+ this.element.bind("mousewheel", function(event, delta) {
if (!self._start(event)) {
return false;
}