Skip to content

Commit

Permalink
[#504] tagName => nodeName
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed May 9, 2011
1 parent cc98aea commit c21e762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion popcorn.js
Expand Up @@ -138,7 +138,7 @@
entity;

// Create an audio or video element property reference
this[ ( this.media.tagName && this.media.tagName.toLowerCase() ) || "video" ] = this.media;
this[ ( this.media.nodeName && this.media.nodeName.toLowerCase() ) || "video" ] = this.media;

// Register new instance
Popcorn.addInstance( this );
Expand Down

0 comments on commit c21e762

Please sign in to comment.