From 6f9f6a54db26777962730916b9ae65f2b609f8af Mon Sep 17 00:00:00 2001 From: Anna Sobiepanek Date: Fri, 25 Jun 2010 14:43:25 -0400 Subject: [PATCH] fixed onOut [#54 state:peer-review-requested] --- popcorn.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/popcorn.js b/popcorn.js index aea30b5..1b02351 100644 --- a/popcorn.js +++ b/popcorn.js @@ -172,7 +172,11 @@ } }; 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 -- 2.43.0