this.index = new FluidbookIndex(this.fluidbook);
var $this = this;
- $(document).on('click', ".mview .back", function () {
+ // Note: iOS won't catch click events unless the element has a cursor:pointer style
+ // This was added for #viewOverlay in the CSS
+ // More details: https://stackoverflow.com/a/16006333
+ $(document).on('click', ".mview .back, #viewOverlay", function () {
var currentHash = window.location.hash;
window.location.hash = '/page/' + $this.fluidbook.currentPage;
if (window.location.hash == currentHash) {