Skip to content

Commit

Permalink
updating dist to latest (#129)
Browse files Browse the repository at this point in the history
dist fell behind, updating to latest
  • Loading branch information
timeiscoffee authored and shawnbot committed Nov 16, 2016
1 parent 88e05fe commit d6c2063
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/svg4everybody.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
// get the current <use>
var use = uses[index], svg = use.parentNode;
if (svg && /svg/i.test(svg.nodeName)) {
var src = use.getAttribute("xlink:href");
var src = use.getAttribute("xlink:href") || use.getAttribute("href");
if (polyfill && (!opts.validate || opts.validate(src, svg, use))) {
// remove the <use> element
svg.removeChild(use);
Expand Down
2 changes: 1 addition & 1 deletion dist/svg4everybody.legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
// get the current <use>
var use = uses[index], svg = use.parentNode;
if (svg && /svg/i.test(svg.nodeName)) {
var src = use.getAttribute("xlink:href");
var src = use.getAttribute("xlink:href") || use.getAttribute("href");
// if running with legacy support
if (nosvg) {
// create a new fallback image
Expand Down
2 changes: 1 addition & 1 deletion dist/svg4everybody.legacy.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/svg4everybody.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d6c2063

Please sign in to comment.