Add color presets to Picker component and fix

extension popup close bug
This commit is contained in:
SethBurkart123
2023-11-15 17:26:26 +11:00
parent 298cb8bc2b
commit 6b4c928925
2 changed files with 40 additions and 3 deletions
+1 -1
View File
@@ -824,11 +824,11 @@ function addExtensionSettings() {
const closeExtensionPopup = () => {
if (!SettingsClicked) {
extensionPopup.classList.add('hide');
extensionIframe.contentWindow.postMessage('popupClosed', '*');
}
SettingsClicked = false;
};
container.onclick = (event) => {
extensionIframe.contentWindow.postMessage('popupClosed', '*');
if (event.target.id !== 'AddedSettings') {
closeExtensionPopup();
} else {