From c40491f1879bcf82246059cb40a6a610cac54b18 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Thu, 18 Sep 2008 09:30:14 +0000 Subject: dragging handle won't fire onunload event anymore (fixes #3228) --- ui/ui.slider.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/ui.slider.js b/ui/ui.slider.js index be466a787..e31e64545 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -109,8 +109,9 @@ $.widget("ui.slider", { .each(function() { new handleclass(this); }) - .wrap('') + .wrap('') .parent() + .bind('click', function() { return false; }) .bind('focus', function(e) { self._focus(this.firstChild); }) .bind('blur', function(e) { self._blur(this.firstChild); }) .bind('keydown', function(e) { if(!self.options.noKeyboard) return self._keydown(e.keyCode, this.firstChild); }) -- cgit v1.2.3