diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-18 18:54:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 18:54:52 +0800 |
| commit | 2afcb97eeab22b2ae7b3dc697e0cfab318aa0722 (patch) | |
| tree | 9a101095d390ea3a336427e295210d11eab824f3 /src/lightbox.js | |
| parent | d26860e424227003122b077c8d2e76223d760e67 (diff) | |
| parent | 7113655e17a38d9d73cffe469c28b6ddf5b0636f (diff) | |
Merge pull request #2 from QuarkPixel/master
Fix Multiple UI/UX Issues and Improve Configuration Management
Diffstat (limited to 'src/lightbox.js')
| -rw-r--r-- | src/lightbox.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lightbox.js b/src/lightbox.js index bef29eb..7bf23d9 100644 --- a/src/lightbox.js +++ b/src/lightbox.js @@ -33,8 +33,8 @@ export default class LightBox { this.images.forEach(image => { if (image.tagName !== 'IMG') return; image.id = crypto.randomUUID(); // generate unique id for each image - image.style.cursor = 'zoom-in'; - image.addEventListener('click', () => this.open(image)); // click image to open lightbox + image.style.cursor = config.imageCursor; + image.addEventListener('click', () => this.open(image)); // click image to open lightbox }); } |
