aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/skype/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/skype/webview.js')
-rw-r--r--recipes/skype/webview.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes/skype/webview.js b/recipes/skype/webview.js
index 6e84d78..dd867ea 100644
--- a/recipes/skype/webview.js
+++ b/recipes/skype/webview.js
@@ -2,8 +2,6 @@ const _path = _interopRequireDefault(require('path'));
2 2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 4
5const { remote: { BrowserWindow } } = require('electron');
6
7module.exports = (Ferdi, settings) => { 5module.exports = (Ferdi, settings) => {
8 const getMessages = function getMessages() { 6 const getMessages = function getMessages() {
9 let count = 0; 7 let count = 0;
@@ -44,7 +42,7 @@ module.exports = (Ferdi, settings) => {
44 event.stopPropagation(); 42 event.stopPropagation();
45 // TODO: Can we send an ipc event 'open-browser-window' to open the child window? (see the slack recipe for how to send an ipc message) 43 // TODO: Can we send an ipc event 'open-browser-window' to open the child window? (see the slack recipe for how to send an ipc message)
46 // TODO: Can we change the slack recipe to add a clickHandler for screensharing/video calls? (https://github.com/getferdi/ferdi/issues/1697) 44 // TODO: Can we change the slack recipe to add a clickHandler for screensharing/video calls? (https://github.com/getferdi/ferdi/issues/1697)
47 const win = new BrowserWindow({ 45 const win = new Ferdi.BrowserWindow({
48 width: 800, 46 width: 800,
49 height: window.innerHeight, 47 height: window.innerHeight,
50 minWidth: 600, 48 minWidth: 600,