Closed craigsapp closed 3 years ago
Related to https://github.com/music-encoding/music-encoding/issues/823 which should have been fixed (hopefully).
Can you try to delete your cached LocalStorage entries for https://music-encodig.org ?
Thanks! It is working again:
Can you try to delete your cached LocalStorage entries for https://music-encodig.org ?
On another computer, the problem was related to a cookie rather than localStorage. (maybe cookies were previously used for storing the view preferences of the attributes tab?). The cookie seems to have been moved to localStorage, since I do not see it reappear when reloading after removing the cookie.
Issue https://github.com/music-encoding/guidelines/issues/197 was probably related to this one as well.
It would be wise to check if newTab
is null before trying to use it 😉
this is coming up irregularly – we should investigate, but it doesn't seem to be a simple problem or fix…
On documentation webpages such as:
https://music-encoding.org/guidelines/v4/elements/artic.html#attributes
There is a javascript error occurring when the page is loaded:
Function where the problem occurs:
The problem is that
newTab
is being set tonull
and then trying to access.classList
on null is causing the crash. This results in the tabs not being prepared, and then access to the contents of the tabs becomes unavailable (such as thefull definition
tab for attributes on this page: