Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Template.posts.rendered = function(){
- if (!this.rendered){
- function setEvents(){
- $(".posts").on("click", function(){
- $(this).slideDown(750);
- });
- };
- var init = function(){
- setEvents();
- }();
- this.rendered = true;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement