From c961e594a5f3f12584eed54370d1dc810848ab67 Mon Sep 17 00:00:00 2001 From: Juan Manuel Gonzalez Alama Date: Mon, 22 Apr 2019 12:31:54 -0300 Subject: [PATCH] Code review Removed console.log. --- app/Application.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/app/Application.js b/app/Application.js index 1a1c9243..79c56492 100644 --- a/app/Application.js +++ b/app/Application.js @@ -82,18 +82,17 @@ Ext.define('Rambox.Application', { } } ,{ - key: "f" - ,ctrl: true - ,alt: false - ,shift: false - ,handler: function(key) { - console.log('ok') - var currentTab = Ext.cq1('app-main').getActiveTab() - if(currentTab.getWebView) - currentTab.down('component').el.dom.send('findInPage'); - - } - } + key: "f" + ,ctrl: true + ,alt: false + ,shift: false + ,handler: function(key) { + var currentTab = Ext.cq1('app-main').getActiveTab(); + if (currentTab.getWebView) { + currentTab.down('component').el.dom.send('findInPage'); + } + } + } ,{ key: "\t" ,ctrl: true