Closed TopCat6 closed 9 months ago
Browser gives console error message that attachEvent is not a function in line 29 of pngfix.js window.attachEvent("onload", correctPNG);
Error message goes away when you change line 29 to: window.addEventListener("onload", correctPNG, false);
Steps to reproduce the behavior:
A clear and concise description of what you expected to happen. No error should be thrown in browser
Describe the bug
Browser gives console error message that attachEvent is not a function in line 29 of pngfix.js window.attachEvent("onload", correctPNG);
Error message goes away when you change line 29 to: window.addEventListener("onload", correctPNG, false);
Software Versions
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen. No error should be thrown in browser