Replace instances of ES6 const keyword with var
This commit was merged in pull request #107.
This commit is contained in:
committed by
BehindTheMath
parent
b98e3ef914
commit
cd09cc88d1
@@ -20,7 +20,7 @@ module.exports = {
|
||||
|
||||
// Copy attributes from the new element to the old one
|
||||
if (newEl.hasAttributes()) {
|
||||
const attrs = newEl.attributes;
|
||||
var attrs = newEl.attributes;
|
||||
for (var i = 0; i < attrs.length; i++) {
|
||||
oldEl.attributes.setNamedItem(attrs[i].cloneNode())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user