Skip to content

Commit

Permalink
[BUGFIX] domt/element
Browse files Browse the repository at this point in the history
- fix call of undefined getAttributes method of native DOM element
  • Loading branch information
Dirk Lüth committed Jul 23, 2015
1 parent 86c1a55 commit f620a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
attributes = (typeof attributes === stringString) ? attributes.split(' ') : attributes;

for(; (attribute = attributes[i]) !== undefined; i++) {
result[attribute] = self.element.getAttributes(attribute);
result[attribute] = self.element.getAttribute(attribute);
}
}

Expand Down

0 comments on commit f620a10

Please sign in to comment.