-
Notifications
You must be signed in to change notification settings - Fork 79
MSA viewer is not loading... #260
Comments
This seems related to Issue #259. I am a developer for bv-brc.org, and we use this viewer. It has recently stopped working for us when Firefox and Chromium were upgraded to the latest releases. Chrome rendering stopped working in version 92.0.4515.131, and Firefox rendering stopped working on version 90.0.2. |
Is there any ideas how to fix the issue? |
@l-singh-biomsu The issue is the at() is now a method of JS Arrays on Chrome/FF (but not on Safari and other browsers yet) and so this check doesnt' do what is expected. We replaced this with a check like '_byId' in seqs that works for our particular case because of the data we're initially passing in, but I am not sure if it is a valid general solution for others. If not a different check will need to be applied there. |
Follow this suggestion wilzbach/msa#260 (comment)
How about checking 'on' instead of '_byId' since it's that method which is called? |
Building on @dmachi's comment, add the following before instantiating delete Array.prototype.at Not ideal but it works |
I've made a fix for this on my own fork that I think is more robust. niaid@e82512e |
Hello,
I am using Ubuntu 18.04
Chromium v92.0.4515.131
MSA vier is not laoding. It crushes with error Uncaught TypeError: seqs.on is not a function.
Please fix this bug soon, I rely on it!
The text was updated successfully, but these errors were encountered: