thriveweb / wooswipe

A WooCommerce gallery plugin built using PhotoSwipe from Dmitry Semenov and Slick carousel.
http://thriveweb.com.au
GNU General Public License v2.0
15 stars 18 forks source link

Allow modifier key click #8

Closed akaleeroy closed 8 years ago

akaleeroy commented 8 years ago

Allow user to open image link in new tab or download it by restoring the default functionality to middle-click, Ctrl-click and Alt-click.

thriveweb commented 8 years ago

Thanks 👍

thriveweb commented 8 years ago

This will come through with the new release.

akaleeroy commented 8 years ago

Not so fast! I just noticed a bug.

On a product page with at least 2 images, click on the second thumbnail, then middle-click on that second product image. The first image opens in a new tab instead!

.single-product-main-image>a doesn't update when you click the thumbnail, just the .single-product-main-image>a>img src does! It should probably update.

akaleeroy commented 8 years ago

Proposed solution: akaleeroy/wooswipe@713a38d5ccb1cb267e83f17a5ece06de46b2665e