From f07418e83243513dabe514637b22cc2de9a446f4 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 18 Sep 2019 18:16:21 +0300 Subject: [PATCH] [DE] Fix callback --- apps/documenteditor/main/app_dev.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app_dev.js b/apps/documenteditor/main/app_dev.js index 8df0a9851..d3007ce12 100644 --- a/apps/documenteditor/main/app_dev.js +++ b/apps/documenteditor/main/app_dev.js @@ -194,9 +194,7 @@ require([ ,'common/main/lib/controller/Desktop' ], function() { window.compareVersions = true; - Common.Locale.apply(function () { - app.start(); - }); + Common.Locale.apply(app.start.bind(app)); }); }, function(err) { if (err.requireType == 'timeout' && !reqerr && window.requireTimeourError) {