From 2c12ed280511affe7c11aadf787facb3e0ab8310 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Mon, 8 Oct 2018 12:46:06 -0300 Subject: [PATCH] Fixed context menu on apps --- app/ux/WebView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 524ad3fd..3c10ec09 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -230,7 +230,9 @@ Ext.define('Rambox.ux.WebView',{ var webview = me.down('component').el.dom; - require('electron-context-menu')({window: webview}); + setTimeout(function() { + require('electron-context-menu')({window: webview}); + }, 100); // Google Analytics Event ga_storage._trackEvent('Services', 'load', me.type, 1, true);