You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
Hi there!
I encountered a problem when webpack processes application.
In react-image-lightbox/dist/main.js I found next code function getIEVersion() { if ("undefined" != typeof window) { var match = window.navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/); return match ? parseInt(match[1], 10) : void 0; } }
As I understand window.navigator maybe undefined, and necessary to add checking for this.
The text was updated successfully, but these errors were encountered:
Hi there!
I encountered a problem when webpack processes application.
In react-image-lightbox/dist/main.js I found next code
function getIEVersion() { if ("undefined" != typeof window) { var match = window.navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/); return match ? parseInt(match[1], 10) : void 0; } }
As I understand window.navigator maybe undefined, and necessary to add checking for this.
The text was updated successfully, but these errors were encountered: