mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
afca9cb27e
When the browser window is resized, a new click event listener is added to the window but the old one is not removed. The old one ends up preventing the newly-made dropdown from opening. Fix this by remembering the click event listener function added to the window, and remove it before making the new dropdown after a window resize. |
||
---|---|---|
.. | ||
built | ||
css | ||
js | ||
screenshot-desktop.jpg | ||
screenshot-mobile.jpg |