Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
ae556d0844
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  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,