From 562f4f9d9f2b11d1606c2c36b3df8ccd6e4e168c Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Tue, 28 Aug 2018 14:07:52 -0300 Subject: [PATCH] Changed code to prevent errors in sencha compilation --- app/view/main/MainController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/view/main/MainController.js b/app/view/main/MainController.js index 25d2e7c7..4c68d15f 100644 --- a/app/view/main/MainController.js +++ b/app/view/main/MainController.js @@ -9,7 +9,7 @@ Ext.define('Rambox.view.main.MainController', { tabPanel.setTabPosition(config.tabbar_location); tabPanel.setTabRotation(0); - let reorderer = tabPanel.plugins.find((plugin) => plugin.ptype == "tabreorderer"); + var reorderer = tabPanel.plugins.find(function(plugin) { return plugin.ptype == "tabreorderer"}); if ( reorderer !== undefined ) { const names = reorderer.container.getLayout().names;