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;