Skip to content

Commit 817ce34

Browse files
committed
Quick fix for bug introduced in 2.11 where a removal of close was incorrect
1 parent f344def commit 817ce34

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

module.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "popout",
44
"title": "PopOut!",
55
"description": "<p>This module adds a PopOut! button to most actor sheets, journal entries, and applications.</p><p>The PopOut! button allows you to open a sheet/application/document into its own window, for easier viewing or for use with multiple monitors.</p>",
6-
"version": "2.11",
6+
"version": "2.12",
77
"author": "KaKaRoTo, Posnet",
88
"authors": [{ "name": "KaKaRoTo" }, { "name": "Posnet" }],
99
"scripts": ["./popout.js"],
@@ -48,7 +48,7 @@
4848
"readme": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout#readme",
4949
"url": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout",
5050
"manifest": "https://raw.githubusercontent.com/League-of-Foundry-Developers/fvtt-module-popout/master/module.json",
51-
"download": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout/archive/v2.11.zip",
51+
"download": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout/archive/v2.12.zip",
5252
"bugs": "https://github.com/League-of-Foundry-Developers/fvtt-module-popout/issues",
5353
"minimumCoreVersion": "0.9.0",
5454
"compatibleCoreVersion": "9",

popout.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@ class PopoutModule {
839839
} else {
840840
if (game.keyboard.downKeys.has("Escape")) return; // eslint-disable-line no-undef
841841
}
842+
popout.close();
842843
return oldClose.apply(app, args);
843844
};
844845

0 commit comments

Comments
 (0)