Explorar el Código

Merge pull request #2350 from rparree/hash-problem

Fixed not bing able to follow same inner links twice with history:false
Hakim El Hattab hace 5 años
padre
commit
ae556d0844
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      js/reveal.js

+ 5 - 0
js/reveal.js

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