Fix navigating by anchor results in an empty detail view being opened
fixes #5871
This commit is contained in:
parent
c27c0bdf6e
commit
08260866df
|
@ -142,8 +142,7 @@
|
|||
).historyTriggered = true;
|
||||
}
|
||||
|
||||
// && document.location.hash.match(/^#!/) ??
|
||||
if (document.location.hash) {
|
||||
if (document.location.hash && document.location.hash.match(/^#!/)) {
|
||||
|
||||
parts = document.location.hash.split(/#!/);
|
||||
|
||||
|
|
Loading…
Reference in New Issue