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

This commit is contained in:
Paul Bakaus 2008-09-18 09:30:14 +00:00
parent 73d70bcb67
commit c40491f187

View File

@ -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); })