hyunsupul / aesop-core

Open-sourced suite of components that empower interactive storytelling in WordPress.
http://aesopstoryengine.com
GNU General Public License v2.0
244 stars 56 forks source link

Broken Swipebox controls #315

Closed peiche closed 8 years ago

peiche commented 8 years ago

When clicking on an image to open the lightbox, the back/forward and close icons are missing. This is reproducible both in my own theme and in the Aesop Story Theme.

Upon a little further investigation, I've found that the stylesheet is looking for this selector:

#swipebox-action #swipebox-prev,
#swipebox-action #swipebox-next,
#swipebox-action #swipebox-close

But there is currently no id of swipebox-action in the markup used by Swipebox. The markup was rewritten in this commit in public/assets/js/swipebox.js.

hyunsupul commented 8 years ago

I restored the javascript file. Thank you very much for pointing this out to me.