Fix navigating by anchor results in an empty detail view being opened

fixes #5871
This commit is contained in:
Johannes Meyer 2014-04-28 16:06:03 +02:00
parent c27c0bdf6e
commit 08260866df
1 changed files with 1 additions and 2 deletions

View File

@ -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(/#!/);