Skip to content

Commit

Permalink
If something is not found and the location has no been set, just go t…
Browse files Browse the repository at this point in the history
…o thisB.refSeq
  • Loading branch information
cmdcolin committed Dec 11, 2018
1 parent 97a4f93 commit b919b5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/JBrowse/Browser.js
Expand Up @@ -2516,6 +2516,9 @@ navigateTo: function(loc) {
content: 'Not found: <span class="locString">'+loc+'</span>',
className: 'notfound-dialog'
}).show();
if(!thisB.view.pxPerBp) {
thisB.navigateToLocation(thisB.refSeq)
}
});
});
},
Expand Down

0 comments on commit b919b5e

Please sign in to comment.