Created
July 3, 2015 18:53
-
-
Save foobarbecue/6e076a050697a5d7cf6a to your computer and use it in GitHub Desktop.
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
Template.notebookIndex.onRendered(function() { | |
var self = this; | |
self.autorun(function () { | |
self.subscribe('publicPosts', Session.get('current_tag'), function () { | |
console.log($('.post-meta')); | |
// Unfortunate hack to align the post meta info | |
//setTimeout(function(){ | |
self.$('.post-meta').each(function () { | |
$(this).css('transform', 'rotate(270deg) translate(-' + $(this).width() + 'px, -1.5em)') | |
}) | |
//},20) | |
}) | |
} | |
) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment