diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.js b/test/test.js index 08c5c37..00c9622 100644 --- a/test/test.js +++ b/test/test.js @@ -206,7 +206,6 @@ Reveal.addEventListener( 'ready', function() { asyncTest( 'fragmentshown event', function() { expect( 2 ); - start(); var _onEvent = function( event ) { ok( true, 'event fired' ); @@ -221,6 +220,8 @@ Reveal.addEventListener( 'ready', function() { Reveal.next(); Reveal.prev(); // shouldn't fire fragmentshown + start(); + Reveal.removeEventListener( 'fragmentshown', _onEvent ); }); |