I’m importing this package in my JS file:
https://github.com/duskload/mobile-device-detect
It executes immediately, which is fine. But I’d also like to be able to execute again later on when the user resizes their browser window. How can I execute it again?