[Plugin: Lightbox 2] Allow right-click on images
-
Although most people want to DISABLE the right click on thumbnails, I wanted the opposite and wanted to retain the behavior commonly seen on other pages.
Unfortunately, right click on the thumbnail triggers the lightbox enlarge functionality.
To modify this behavior, I changed:
if (target) {
to
if (target && !event.isRightClick()) {
- The topic ‘[Plugin: Lightbox 2] Allow right-click on images’ is closed to new replies.