diff options
Diffstat (limited to 'src/jqLite.js')
| -rw-r--r-- | src/jqLite.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jqLite.js b/src/jqLite.js index 0867f9c9..36248e71 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -187,7 +187,7 @@ JQLite.prototype = { } else { var attributes = e.attributes, item = attributes ? attributes.getNamedItem(name) : undefined; - return item ? item.value : undefined; + return item && item.specified ? item.value : undefined; } }, |
