Browse Source

Merge pull request #2350 from rparree/hash-problem

Fixed not bing able to follow same inner links twice with history:false
Hakim El Hattab 5 years ago
parent
commit
ae556d0844
1 changed files with 5 additions and 0 deletions
  1. 5 0
      js/reveal.js

+ 5 - 0
js/reveal.js

@@ -4296,8 +4296,13 @@
 			else if( config.hash ) {
 			else if( config.hash ) {
 				window.history.replaceState(null, null, '#' + locationHash());
 				window.history.replaceState(null, null, '#' + locationHash());
 			}
 			}
+      else {
+        window.location.hash = '';
+      }
 		}
 		}
 
 
+
+
 	}
 	}
 	/**
 	/**
 	 * Retrieves the h/v location and fragment of the current,
 	 * Retrieves the h/v location and fragment of the current,