diff --git a/README.md b/README.md index f1eb74f..7854352 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,10 @@ An additional note about the orientation of the masonry vs. the distribution of ![Obsidian Image Gallery - Examples](assets/obsidian-image-gallery-examples.jpg) ## Changelog + +`1.1.1` + - Fix bug for the "open image in new tab" feature + `1.1.0` - fixed alphabetical sorting - introduced lightbox for both desktop and mobile diff --git a/manifest.json b/manifest.json index 6add14d..87807e7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-image-gallery", "name": "Image Gallery", - "version": "1.1.0", + "version": "1.1.1", "minAppVersion": "1.1.8", "description": "A zero setup masonry image gallery for Obsidian", "author": "Luca Orio", diff --git a/package.json b/package.json index 640f064..373142f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-image-gallery", - "version": "1.1.0", + "version": "1.1.1", "description": "A zero setup masonry image gallery for Obsidian", "main": "main.js", "scripts": { diff --git a/src/build-lightbox.ts b/src/build-lightbox.ts index 89a8085..81c50b1 100644 --- a/src/build-lightbox.ts +++ b/src/build-lightbox.ts @@ -38,7 +38,7 @@ const globalSearchBtn = (gallery: HTMLElement, imagesList: {[key: string]: any}) galleryInstance.outer.find('#btn-glob-search').on('click', () => { const index = galleryInstance.index const selected = imagesList[index] - app.workspace.openLinkText(selected.name, selected.folder, true, {active: true}) + app.workspace.openLinkText('', `${selected.folder}/${selected.name}`, true, {active: true}) galleryInstance.closeGallery() }); }) diff --git a/versions.json b/versions.json index 1274bc1..2bb8355 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ { "1.0.0": "0.14.6", - "1.1.0": "1.1.8" + "1.1.0": "1.1.8", + "1.1.1": "1.1.8" }