aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/whatsapp/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/whatsapp/webview.js')
-rw-r--r--recipes/whatsapp/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/whatsapp/webview.js b/recipes/whatsapp/webview.js
index 5dd3729..8320d9e 100644
--- a/recipes/whatsapp/webview.js
+++ b/recipes/whatsapp/webview.js
@@ -1,12 +1,12 @@
1"use strict"; 1"use strict";
2 2
3const { 3const {
4 getCurrentWebContents 4 remote
5} = require('@electron/remote'); 5} = require('electron');
6 6
7const path = require('path'); 7const path = require('path');
8 8
9const webContents = getCurrentWebContents(); 9const webContents = remote.getCurrentWebContents();
10const { 10const {
11 session 11 session
12} = webContents; 12} = webContents;