From: rwldrn Date: Thu, 24 Mar 2011 21:34:54 +0000 (-0400) Subject: [#450] Updates per review X-Git-Tag: v0.5~38^2~2^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=651cdb8668d1ae687bb06e96b14c241ff8dd4216;p=popcorn-js.git [#450] Updates per review --- diff --git a/popcorn.js b/popcorn.js index 56cbcb0..bfe848e 100644 --- a/popcorn.js +++ b/popcorn.js @@ -1099,10 +1099,10 @@ // Exposes Popcorn to global context global.Popcorn = Popcorn; - document.addEventListener( "DOMContentLoaded", function () { + document.addEventListener( "DOMContentLoaded", function() { // Supports non-specific elements - var dataAttr = "data-timeline-sources", + var dataAttr = "data-timeline-sources", medias = document.querySelectorAll( "[" + dataAttr + "]" ); Popcorn.forEach( medias, function( idx, key ) {