Spinner: Remove debugging output that appends directly to the body from mousewheel handling.

This commit is contained in:
adam j. sontag 2011-03-21 17:37:57 -04:00
parent a6fbb47e6a
commit 00547ec046

View File

@ -187,7 +187,6 @@ $.widget('ui.spinner', {
if (!self.spinning && !self._start(event)) { if (!self.spinning && !self._start(event)) {
return false; return false;
} }
$("<div>").text("delta: " + delta).appendTo(document.body)
self._spin((delta > 0 ? 1 : -1) * self.options.step, event); self._spin((delta > 0 ? 1 : -1) * self.options.step, event);
clearTimeout(self.timeout); clearTimeout(self.timeout);
self.timeout = setTimeout(function() { self.timeout = setTimeout(function() {