Skip to content

Commit

Permalink
Changed atts[i].nodeValue to atts[i].value for Firefox issue yabwe#1369
Browse files Browse the repository at this point in the history
  • Loading branch information
jamenamcinteer committed Sep 13, 2017
1 parent 2fc300c commit 0e809bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
for (var i = 0, n = atts.length; i < n; i++) {
// do not re-create existing attributes
if (!div.hasAttribute(atts[i].nodeName)) {
div.setAttribute(atts[i].nodeName, atts[i].nodeValue);
div.setAttribute(atts[i].nodeName, atts[i].value);
}
}

Expand Down

0 comments on commit 0e809bb

Please sign in to comment.