Skip to content

Commit

Permalink
fix close for players
Browse files Browse the repository at this point in the history
closes #45
  • Loading branch information
ardittristan committed Mar 4, 2024
1 parent 6aaa668 commit 55f9037
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inlineviewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Hooks.once("init", () => {
width: data.width || 512,
height: data.height || 512,
minimizable: true,
title: game.i18n.localize("inlineView.gmShare.popup"),
title: data.name.trim() == false ? game.i18n.localize("inlineView.gmShare.popup") : data.name.trim(),
url: data.url.trim(),
compat: data.compat || false,
customCSS: data.customcss,
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"url": "https://github.com/ardittristan/VTTInlineWebviewer",
"flags": {},
"version": "3.4.4",
"version": "3.4.5",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "11",
"compatibility": {
Expand Down
2 changes: 1 addition & 1 deletion modules/InlineViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Hooks.on("getApplicationHeaderButtons", function (viewer, buttons) {
},
];
}
return buttons;
return [];
})(),
]
);
Expand Down
2 changes: 1 addition & 1 deletion modules/UrlShareDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class UrlShareDialog extends FormApplication {
width: w || 512,
height: h || 512,
minimizable: true,
title: game.i18n.localize("inlineView.gmShare.popup"),
title: name.trim() == false ? game.i18n.localize("inlineView.gmShare.popup") : name.trim(),
url: url.trim(),
compat: compat || false,
customCSS: customCSS,
Expand Down

0 comments on commit 55f9037

Please sign in to comment.