From c21e762c02689b1f02a48ed0e60d64fd7b732878 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Sun, 8 May 2011 20:21:48 -0400 Subject: [PATCH] [#504] tagName => nodeName --- popcorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popcorn.js b/popcorn.js index 570a256d3..0e4debd95 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 );