Disable history for photoswipe
This commit is contained in:
parent
6811d84242
commit
3c23aa2fcb
3 changed files with 4 additions and 3 deletions
|
@ -47,7 +47,8 @@
|
|||
function show_photoswipe(start_index)
|
||||
{
|
||||
let options = {
|
||||
index: start_index
|
||||
index: start_index,
|
||||
history: false,
|
||||
};
|
||||
|
||||
let gallery = new PhotoSwipe( pswpElement, PhotoSwipeDefaultUI, items, options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue