Explorar o 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 %!s(int64=5) %!d(string=hai) anos
pai
achega
ae556d0844
Modificáronse 1 ficheiros con 5 adicións e 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,