Skip to content

Instantly share code, notes, and snippets.

@technomaz
Created December 31, 2014 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technomaz/dad88cf55fb62c335b7a to your computer and use it in GitHub Desktop.
Save technomaz/dad88cf55fb62c335b7a to your computer and use it in GitHub Desktop.
Add Bootstrap icon to all PDF links that do not have the btn class
jQuery("a[href$='.pdf']:not(.btn)").after(" <i class=\"icon-file-text-alt\"></i>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment