Remove # symbol when no hash
This commit is contained in:
@@ -23,7 +23,7 @@ define([
|
||||
// Hidden hash
|
||||
hash = window.location.hash;
|
||||
href = window.location.href;
|
||||
if (window.history && window.history.replaceState) {
|
||||
if (window.history && window.history.replaceState && hash) {
|
||||
window.history.replaceState({}, window.document.title, '#');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user