Skip to content

Commit

Permalink
fix for #48
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpvar committed Oct 10, 2010
1 parent 63514de commit 75903f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsdom/level2/core.js
Expand Up @@ -292,7 +292,7 @@ core.Element.prototype.getElementsByTagNameNS = function(/* String */ namespaceU

core.Element.prototype.hasAttribute = function(/* string */name)
{
if (!this.attributes()) {
if (!this.attributes) {
return false;
}
return this.attributes().exists(name);
Expand Down

0 comments on commit 75903f2

Please sign in to comment.