mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-11 09:04:51 +02:00
fix fragment handling when desired fragment is 0
This commit is contained in:
@@ -3716,7 +3716,10 @@
|
||||
v = parseInt( bits[1], 10 ) || 0,
|
||||
f;
|
||||
if( config.fragmentInURL ) {
|
||||
f = parseInt( bits[2], 10 ) || undefined;
|
||||
f = parseInt( bits[2], 10 );
|
||||
if( isNaN( f ) ) {
|
||||
f = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
if( h !== indexh || v !== indexv || f !== undefined ) {
|
||||
|
Reference in New Issue
Block a user