Skip to content
Permalink
Browse files

dragging handle won't fire onunload event anymore (fixes #3228)

  • Loading branch information...
Paul Bakaus
Paul Bakaus committed Sep 18, 2008
1 parent 73d70bc commit c40491f1879bcf82246059cb40a6a610cac54b18
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/ui.slider.js
@@ -109,8 +109,9 @@ $.widget("ui.slider", {
.each(function() {
new handleclass(this);
})
.wrap('<a href="javascript:void(0)" style="outline:none;border:none;"></a>')
.wrap('<a href="#" style="outline:none;border:none;"></a>')
.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); })

0 comments on commit c40491f

Please sign in to comment.
You can’t perform that action at this time.