Created
August 8, 2011 19:55
-
-
Save mikker/1132560 to your computer and use it in GitHub Desktop.
Make Tumblr avatars double in size using dotjs
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
| $(".not_mine .post_avatar").each(function(){ | |
| var bg = $(this).css('background-image'); | |
| var n = bg.replace(/_64\.png/,"_128.png"); | |
| $(this).css({ backgroundImage: n, width: 128, height: 128, marginLeft: -64 }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment