Skip to content

Commit

Permalink
null check on referenceFrameList
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Sep 25, 2024
1 parent 228932a commit 9c4ed10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2471,7 +2471,7 @@ function mouseUpOrLeave(e) {
async function keyUpHandler(event) {

// Feature jumping disabled in multi-locus view
if (this.referenceFrameList.length > 1) return
if (!this.referenceFrameList || this.referenceFrameList.length > 1) return

if (event.code === 'KeyF' || event.code === 'KeyB') {

Expand Down

0 comments on commit 9c4ed10

Please sign in to comment.