Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.79 KB | None | 0 0
  1. --- old.js  Thu Aug 21 16:01:12 2014
  2. +++ new.js  Thu Aug 21 16:02:23 2014
  3. @@ -1,10 +1,10 @@
  4.  // only links with a corresponding Link_FA template are interesting
  5. -if (document.getElementById(className + "-fa")) {
  6. +if (document.getElementById(className + "-fa") && li.className.indexOf("badge-featuredarticle") === -1) {
  7.    li.className += " FA";         // additional class so the template can be hidden with CSS
  8.    li.title = linkFA_description; // change title
  9.    continue;
  10.  }
  11. -if (document.getElementById(className + "-ga")) {
  12. +if (document.getElementById(className + "-ga") && li.className.indexOf("badge-goodarticle") === -1) {
  13.    li.className += " GA";         // additional class so the template can be hidden with CSS
  14.    li.title = linkGA_description; // change title
  15.    continue;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement