only call slide() after hash changes if indices have changed #529
parent
5cb9a58938
commit
8dcf324f7a
|
@ -1819,8 +1819,10 @@ var Reveal = (function(){
|
|||
var h = parseInt( bits[0], 10 ) || 0,
|
||||
v = parseInt( bits[1], 10 ) || 0;
|
||||
|
||||
if( h !== indexh || v !== indexv ) {
|
||||
slide( h, v );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue