From 817ce343f4931db3ef96ee5877a3a1bf17864c31 Mon Sep 17 00:00:00 2001 From: Alec Posney Date: Sat, 22 Apr 2023 14:38:47 +1000 Subject: [PATCH] Quick fix for bug introduced in 2.11 where a removal of close was incorrect --- module.json | 4 ++-- popout.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/module.json b/module.json index c6923a2..522fdad 100644 --- a/module.json +++ b/module.json @@ -3,7 +3,7 @@ "name": "popout", "title": "PopOut!", "description": "

This module adds a PopOut! button to most actor sheets, journal entries, and applications.

The PopOut! button allows you to open a sheet/application/document into its own window, for easier viewing or for use with multiple monitors.

", - "version": "2.11", + "version": "2.12", "author": "KaKaRoTo, Posnet", "authors": [{ "name": "KaKaRoTo" }, { "name": "Posnet" }], "scripts": ["./popout.js"], @@ -48,7 +48,7 @@ "readme": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout#readme", "url": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout", "manifest": "https://raw.githubusercontent.com/League-of-Foundry-Developers/fvtt-module-popout/master/module.json", - "download": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout/archive/v2.11.zip", + "download": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout/archive/v2.12.zip", "bugs": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout/issues", "minimumCoreVersion": "0.9.0", "compatibleCoreVersion": "9", diff --git a/popout.js b/popout.js index 1e8d7d6..d43447e 100644 --- a/popout.js +++ b/popout.js @@ -839,6 +839,7 @@ class PopoutModule { } else { if (game.keyboard.downKeys.has("Escape")) return; // eslint-disable-line no-undef } + popout.close(); return oldClose.apply(app, args); };