]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Merge branch 'footnote' of git://github.com/annasob/popcorn-js
authorDaniel Hodgin <dhodgin@gmail.com>
Fri, 25 Jun 2010 18:45:09 +0000 (14:45 -0400)
committerDaniel Hodgin <dhodgin@gmail.com>
Fri, 25 Jun 2010 18:45:09 +0000 (14:45 -0400)
1  2 
popcorn.js

diff --cc popcorn.js
index 3794af873863011428ae828b250c50899bc9a4b3,1b02351e86d7ab40cde7beb6273257ca621b6b17..7c8a3813cdd5ea0f58d7004f0ab9d3b3b8118ee6
                        }
      };
      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