Created
February 28, 2017 06:15
-
-
Save daz/883dafe16ab08c58d0271980f863102b to your computer and use it in GitHub Desktop.
Tumblr Mass Post Editor selector
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
highlighted = $('.highlighted'); | |
for (var i = 0; i < highlighted.length; i++) { | |
highlighted[i].remove(); | |
} | |
photos = $('.photo'); | |
for (var i = 0; i < 100; i++) { | |
photos[i].className = photos[i].className + ' highlighted'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment