Skip to content

Commit

Permalink
Merge pull request msurguy#9 from shankaranbonzer/patch-1
Browse files Browse the repository at this point in the history
Added function to get the target
  • Loading branch information
msurguy committed Jan 28, 2014
2 parents ad8e5ef + de1a8e3 commit 5e81ec2
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 5e81ec2

Please sign in to comment.