From 00b8fefa6b163230668bd4997712eeb3fdba11c0 Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Mon, 29 Aug 2011 12:53:33 -0400 Subject: [PATCH] [#685] fixed an issue where a footnote unit test was being run twice --- plugins/footnote/popcorn.footnote.unit.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/footnote/popcorn.footnote.unit.js b/plugins/footnote/popcorn.footnote.unit.js index dbdf83f..f35c366 100755 --- a/plugins/footnote/popcorn.footnote.unit.js +++ b/plugins/footnote/popcorn.footnote.unit.js @@ -84,18 +84,19 @@ test("Popcorn Text Plugin", function () { plus(); popped.text({ - start: 0, // seconds - end: 3, // seconds + start: 5, // seconds + end: 6, // seconds text: "I am an alias", target: "textdiv" }); stop(); - popped.exec( 2, function() { + popped.exec( 5, function() { equal( textdiv.children[0].innerHTML , "I am an alias", "I am an alias set by Popcorn.p.text" ); plus(); - }).currentTime(1).play(); + popped.pause(); + }).currentTime(5).play(); }); -- 2.43.0