shorter example

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-07-01 18:24:58 +07:00
parent 0bfa9b52b0
commit d08aca2bce

View File

@ -19,7 +19,7 @@ Module for creating galleries with re-ordering
```js ```js
import("/js/modules/gallery.mjs").then((module) => { import("/js/modules/gallery.mjs").then((module) => {
// Initializing the instance // Initializing the instance
const instance = new module.gallery( new module.gallery(
document.getElementById("wrap"), document.getElementById("wrap"),
document.getElementById("images"), document.getElementById("images"),
document.getElementById("gallery"), document.getElementById("gallery"),