From: Daniel Hodgin Date: Fri, 25 Jun 2010 18:45:09 +0000 (-0400) Subject: Merge branch 'footnote' of git://github.com/annasob/popcorn-js X-Git-Tag: v0.1~74 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ef866c75a0daa958faaa2d9f9bd351593ba244f6;p=popcorn-js.git Merge branch 'footnote' of git://github.com/annasob/popcorn-js --- ef866c75a0daa958faaa2d9f9bd351593ba244f6 diff --cc popcorn.js index 3794af8,1b02351..7c8a381 --- a/popcorn.js +++ b/popcorn.js @@@ -227,9 -172,14 +227,13 @@@ } }; this.onOut = function() { - document.getElementById("footnote").innerHTML = ""; + if( this.params.target ) { + document.getElementById( this.params.target ).innerHTML = ""; + } else { + //this will be done later in ticket #46 (support default div) + } }; }; - var TwitterCommand = function(name, params, text) {}; // http://twitter.com/celinecelines // Wrapper for accessing commands by name // commands[name].create() returns a new command of type name