Skip to content

Instantly share code, notes, and snippets.

Satya Achanta SatyaAchanta

  • Infor
  • Ypsilanti, MI
Block or report user

Report or block SatyaAchanta

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SatyaAchanta
SatyaAchanta / svgfixer.js
Created Dec 29, 2017 — forked from leonderijke/svgfixer.js
Fixes references to inline SVG elements when the <base> tag is in use.
View svgfixer.js
/**
* SVG Fixer
*
* Fixes references to inline SVG elements when the <base> tag is in use.
* Firefox won't display SVG icons referenced with
* `<svg><use xlink:href="#id-of-icon-def"></use></svg>` when the <base> tag is on the page.
*
* More info:
* - http://stackoverflow.com/a/18265336/796152
* - http://www.w3.org/TR/SVG/linking.html
You can’t perform that action at this time.