Disable history for photoswipe
This commit is contained in:
parent
6811d84242
commit
3c23aa2fcb
3 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
name: Reitanlage Oranienburg
|
name: Reitanlage Oranienburg
|
||||||
version: 1.2.1
|
version: 1.2.2
|
||||||
description: Design der Reitanlage Oranienburg
|
description: Design der Reitanlage Oranienburg
|
||||||
icon: rebel
|
icon: rebel
|
||||||
author:
|
author:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "reitanlage-oranienburg",
|
"name": "reitanlage-oranienburg",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "The Reitanlage Oranienburg Theme for Grav CMS.",
|
"description": "The Reitanlage Oranienburg Theme for Grav CMS.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -47,7 +47,8 @@
|
||||||
function show_photoswipe(start_index)
|
function show_photoswipe(start_index)
|
||||||
{
|
{
|
||||||
let options = {
|
let options = {
|
||||||
index: start_index
|
index: start_index,
|
||||||
|
history: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
let gallery = new PhotoSwipe( pswpElement, PhotoSwipeDefaultUI, items, options);
|
let gallery = new PhotoSwipe( pswpElement, PhotoSwipeDefaultUI, items, options);
|
||||||
|
|
Loading…
Reference in a new issue