Enable Esc key in WebKit browsers
-
Hi there!
Thanks for this great plugin. I was wondering if it would be possible to add support for the Escape key in WebKit browsers? It looks like it requires the use of keyup instead of keypress (see https://stackoverflow.com/questions/719537/capture-an-escape-keypress-in-webkit-browsers ).
Additionally, it looks like the change would need to take place within the lightGallery.js file (and have it be re-minified), either changing the “keyPress” function on line 444; or, add a new keyUp function that mimics the keyPress functionality.
Thanks again for your hard work!
nabeards
- The topic ‘Enable Esc key in WebKit browsers’ is closed to new replies.