Created
June 29, 2015 12:28
-
-
Save egoist/3d4794f3008c2b417ef5 to your computer and use it in GitHub Desktop.
trigger when click `star` button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('body') | |
| .on('click', '.js-toggler-target', function() { | |
| if($(this).attr('aria-label') == 'Star this repository') { | |
| console.log('good'); | |
| } | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment