This commit is contained in:
Mirco Wittrien 2020-02-12 09:09:51 +01:00
parent abde5703a8
commit a3e196e676
2 changed files with 2 additions and 2 deletions

View File

@ -4268,7 +4268,7 @@
return browserWindow;
};
BDFDB.WindowUtils.close = function (browserWindow) {
if (BDFDB.ObjectUtils.is(browserWindow) && !browserWindow.isDestroyed() && browserWindow.isCloseable()) browserWindow.close();
if (BDFDB.ObjectUtils.is(browserWindow) && !browserWindow.isDestroyed() && browserWindow.isClosable()) browserWindow.close();
};
BDFDB.WindowUtils.closeAll = function (plugin) {
if (BDFDB.ObjectUtils.is(plugin) && BDFDB.ArrayUtils.is(plugin.browserWindows)) while (plugin.browserWindows.length) BDFDB.WindowUtils.close(plugin.browserWindows.pop());

File diff suppressed because one or more lines are too long