#70 Fix padding issue
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ class LGallery {
|
|||||||
this.items
|
this.items
|
||||||
.slice(this.index, this.index + PER_PAGE)
|
.slice(this.index, this.index + PER_PAGE)
|
||||||
.forEach(item => {
|
.forEach(item => {
|
||||||
this.element.insertAdjacentHTML('beforeend', item)
|
this.element.insertAdjacentHTML('beforeend', item + '\n')
|
||||||
})
|
})
|
||||||
this.index += PER_PAGE
|
this.index += PER_PAGE
|
||||||
this.lightGallery.refresh()
|
this.lightGallery.refresh()
|
||||||
|
|||||||
Reference in New Issue
Block a user