Skip to content

Commit

Permalink
Added function to get the target
Browse files Browse the repository at this point in the history
Added getTarget function to get the target element
  • Loading branch information
shankaranbonzer committed Jan 27, 2014
1 parent ad8e5ef commit de1a8e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/ladda.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@

return button.hasAttribute( 'data-loading' );

}
},
getTarget : function() {
return button;
}

};

Expand Down

0 comments on commit de1a8e3

Please sign in to comment.