Created
June 6, 2012 11:21
-
-
Save icodesido/2881341 to your computer and use it in GitHub Desktop.
Change comment count text on the fly
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
| if(jQuery('.discussion .toolbar:contains("Open for comments")').length){ | |
| commentCount = jQuery('.content-comment-count'); | |
| commentCount.text(commentCount.text().replace('Comments','Jump to comments')); | |
| } | |
| Variants: | |
| 1 Jump to comments | |
| 2 See all comments | |
| 3 Read the comments | |
| 4 Readers' comments | |
| 5 Join the conversation | |
| 6 Open for comments | |
| 7 Join the discussion | |
| Testing: | |
| Standard | |
| http://www.guardian.co.uk/tv-and-radio/tvandradioblog/2012/may/12/the-bridge-season-one-episodes-seven-eight | |
| Blogpost | |
| http://www.guardian.co.uk/uk/2012/jun/06/unpaid-jubilee-stewards-prescott-exploitation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment