Add lgHash to lightgallery's plugins, upgrade lg
This enables the hash plugin. This gives each photo a unique URL to make it easier to share. Also, upgrading lg to 2.9.0
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ class LGallery {
|
||||
// Create the lightGallery instance
|
||||
this.element = document.getElementById('lightgallery')
|
||||
this.lightGallery = lightGallery(this.element, Object.assign({
|
||||
plugins: [lgZoom, lgThumbnail, lgVideo, lgFullscreen],
|
||||
plugins: [lgZoom, lgThumbnail, lgVideo, lgFullscreen, lgHash],
|
||||
speed: 500,
|
||||
/*
|
||||
This license key was graciously provided by LightGallery under their
|
||||
|
||||
Reference in New Issue
Block a user