Created
June 17, 2015 16:13
-
-
Save czbaker/e664625e51ea1c58a68e to your computer and use it in GitHub Desktop.
jQuery onRendered not working.
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
| // Rendered (jQuery stuff) | |
| Template.msgList.onRendered(function() { | |
| $(".message-block").mouseover(function() { | |
| alert("Triggered!"); | |
| $(this).find(".message-delete").css("color", "#3E3F3A"); | |
| }); | |
| $(".message-block").mouseout(function() { | |
| $(this).find(".message-delete").css("color", "#F8F5F0"); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment