Guest User

Untitled

a guest
Sep 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <script>
  2. jQuery(function ($) {
  3. var el = $('.commentpost a'),
  4. cur = el.text().split(' '),
  5. c = parseInt(cur[0], 10),
  6. rest = cur.slice(1),
  7. fc = parseInt(document.getElementsByTagName('fb:comments-count')[0].innerText, 10);
  8. el.text((c + fc) + " " + rest.join(" "))
  9. });
  10. </script>
Add Comment
Please, Sign In to add comment