From f620a10bd0574b946d18f9e283f2d78e0e2a8a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20L=C3=BCth?= Date: Thu, 23 Jul 2015 15:38:48 +0200 Subject: [PATCH] [BUGFIX] domt/element - fix call of undefined getAttributes method of native DOM element --- src/dom/element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/element.js b/src/dom/element.js index fb5cce95..36aae3e0 100644 --- a/src/dom/element.js +++ b/src/dom/element.js @@ -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); } }