summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 560c94f..eb23644 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1819,7 +1819,9 @@ var Reveal = (function(){
var h = parseInt( bits[0], 10 ) || 0,
v = parseInt( bits[1], 10 ) || 0;
- slide( h, v );
+ if( h !== indexh || v !== indexv ) {
+ slide( h, v );
+ }
}
}