summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab2013-06-09 16:47:27 +0200
committerHakim El Hattab2013-06-09 16:47:27 +0200
commitaa9e298f3dcccef0342b3c5297b8042d695c60d5 (patch)
tree3deff1bb3c026593236d8f2b935b59395682a672 /js/reveal.js
parent033f3ab1699f2cb84a22b7b0c6dede3aec7c8ad6 (diff)
update code style to match after merge
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index d236b84..f1ede50 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1231,7 +1231,7 @@ var Reveal = (function(){
}
// Dispatch an event if the slide changed
- var slideChanged = (indexh !== indexhBefore || indexv !== indexvBefore);
+ var slideChanged = ( indexh !== indexhBefore || indexv !== indexvBefore );
if( slideChanged ) {
dispatchEvent( 'slidechanged', {
'indexh': indexh,
@@ -1269,7 +1269,7 @@ var Reveal = (function(){
}
// Handle embedded content
- if (slideChanged) {
+ if( slideChanged ) {
stopEmbeddedContent( previousSlide );
startEmbeddedContent( currentSlide );
}