If you have a slideshow/gallery with a prev/next link in the Lightcase overlay and you click on prev or next in quick succession, then the actual href of these links gets executed. Since the href of these buttons is just # either of the following things will haben:
- The browser scrolls to the top of the current page.
- The browser interprets the
href relative to a <base> if present and then loads the <base> (i.e. base href + #).
Here is an example: https://jsfiddle.net/wmyndutj/
To make the issue more visible I have also inserted a <base>. So when you double click the prev or next button, the browser will load a new URL.
If you have a slideshow/gallery with a prev/next link in the Lightcase overlay and you click on prev or next in quick succession, then the actual
hrefof these links gets executed. Since thehrefof these buttons is just#either of the following things will haben:hrefrelative to a<base>if present and then loads the<base>(i.e. base href +#).Here is an example: https://jsfiddle.net/wmyndutj/
To make the issue more visible I have also inserted a
<base>. So when you double click the prev or next button, the browser will load a new URL.