Chore: Add web_widget_script in the Inboxes API (#615)

* Chore: Add web_widget_script in the Inboxes API
This commit is contained in:
Pranav Raj S
2020-03-16 12:32:34 +05:30
committed by GitHub
parent d8599c62dd
commit 4d0f46176b
11 changed files with 49 additions and 39 deletions

View File

@@ -213,7 +213,6 @@ const IFrameHelper = {
});
},
toggleCloseButton: () => {
console.log(window.matchMedia('(max-width: 668px)'));
if (window.matchMedia('(max-width: 668px)').matches) {
IFrameHelper.sendMessage('toggle-close-button', { showClose: true });
} else {