From: Rick Waldron Date: Mon, 9 May 2011 00:21:48 +0000 (-0400) Subject: [#504] tagName => nodeName X-Git-Tag: v0.6~30^2^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c21e762c02689b1f02a48ed0e60d64fd7b732878;p=popcorn-js.git [#504] tagName => nodeName --- diff --git a/popcorn.js b/popcorn.js index 570a256..0e4debd 100644 --- a/popcorn.js +++ b/popcorn.js @@ -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 );