From ebb834f4b0b42363e3a59836fc1f2aa15a691c77 Mon Sep 17 00:00:00 2001 From: hakimel Date: Thu, 3 May 2012 12:42:53 -0400 Subject: ie9 fixes, including new classList polyfill --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/reveal.js') diff --git a/js/reveal.js b/js/reveal.js index 3360255..4761595 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -461,7 +461,7 @@ var Reveal = (function(){ // If this slide has a state associated with it, add it // onto the current state of the deck - var slideState = slides[index].dataset.state; + var slideState = slides[index].getAttribute( 'data-state' ); if( slideState ) { state = state.concat( slideState.split( ' ' ) ); } -- cgit v1.2.3