diff --git a/galleryscript.js b/galleryscript.js index 577c009..987b3ca 100644 --- a/galleryscript.js +++ b/galleryscript.js @@ -964,11 +964,18 @@ function showimage(i) { thumblist(i,i); var dirStr=$('#imagecontainer').data('ID')(imagelist.length-1)) { currentimage=0; } showimage(currentimage); }); + if (dirRight) { var $dirEl=$('#nextTouch'); } else { var $dirEl=$('#prevTouch'); } + $dirEl.css("background-color","rgba(238,238,238,0.5)"); + setTimeout(function(){ + $dirEl.css("background", ""); + }, 100); if (fullscreen) { $('#imagecontainer')[0].scrollIntoView(true);