Skip to content

Commit

Permalink
merge default decorator for button
Browse files Browse the repository at this point in the history
  • Loading branch information
Iheartweb committed Oct 30, 2012
1 parent 7601534 commit 64bfb02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/components/Button/decorators/default.js
Expand Up @@ -8,14 +8,10 @@
function DefaultDecorator( settings ){
return function( base ){
var self = this;
<<<<<<< HEAD
this.$element.on( settings.on, _.throttle( function( event ){
if( settings.preventDefault ){
event.preventDefault();
}
=======
self.$element.on( settings.on, _.throttle( function( event ){
>>>>>>> 47eca0de395b18d4db5c2aed481b7608a645c5cd
if( !self.$element.is( 'button' ) ){
self.$element.focus();
}
Expand Down

0 comments on commit 64bfb02

Please sign in to comment.