r3597 committed - button: don't preventDefault() for anchors, can easily be added when n...
Revision: 3597
Author: joern.zaefferer
Date: Sun Jan 3 05:09:51 2010
Log: button: don't preventDefault() for anchors, can easily be added when
necessary
http://code.google.com/p/jquery-ui/source/detail?r=3597
Modified:
/branches/dev/ui/jquery.ui.button.js
=======================================
--- /branches/dev/ui/jquery.ui.button.js Sat Jan 2 15:16:22 2010
+++ /branches/dev/ui/jquery.ui.button.js Sun Jan 3 05:09:51 2010
@@ -138,12 +138,6 @@
} else {
this.buttonElement = this.element;
}
-
- if (this.element.is('a')) {
- this.element.bind('click.button', function(event) {
- event.preventDefault();
- });
- }
},
widget: function() {
--