-
Bug
-
Resolution: Cannot Reproduce
-
Low
Last Checked: 17th May, 2023
Effected pages:
All pages with this script www.minecraft.net/etc.clientlibs/minecraft/clientlibs/main.{id_here}.js
On these pages in the console there is this error, "Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')". This is due to them not checking if the response of `document.querySelector("#myModal")` is null or not. This would be perfectly fine on smaller websites, but is completely unacceptable on a huge website like minecraft.net. This is such a easily avoidable mistake to make while coding especially for a huge company like Mojang Studios.
Example of a page with this error:
https://www.minecraft.net/