From 0d9a6419bb415524d36fb7870cb6949c8d35a8b7 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 30 Mar 2012 23:59:19 -0400 Subject: change back state event scope, document level makes more sense as that's where the state class is applied --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.html') diff --git a/index.html b/index.html index 327236c..e67b3e8 100644 --- a/index.html +++ b/index.html @@ -255,7 +255,7 @@ // Example of binding an event to a state. This listener will trigger // when the slide with 'data-state="blurred"' is opened. - document.querySelector( '#reveal' ).addEventListener( 'blurred', function() { + document.addEventListener( 'blurred', function() { }, false ); -- cgit v1.2.3