only call slide() after hash changes if indices have changed #529

This commit is contained in:
Hakim El Hattab 2013-07-19 09:35:49 -04:00
parent 5cb9a58938
commit 8dcf324f7a
2 changed files with 5 additions and 3 deletions

View File

@ -1819,8 +1819,10 @@ var Reveal = (function(){
var h = parseInt( bits[0], 10 ) || 0, var h = parseInt( bits[0], 10 ) || 0,
v = parseInt( bits[1], 10 ) || 0; v = parseInt( bits[1], 10 ) || 0;
if( h !== indexh || v !== indexv ) {
slide( h, v ); slide( h, v );
} }
}
} }

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long