From 74af0cb31b9a50a1d3f923acd4b3b49485e9d9d2 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Wed, 31 Aug 2016 15:43:49 -0300 Subject: [PATCH] Improve code syntax Related #229 --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index f9111af7..c0489dd6 100644 --- a/app.js +++ b/app.js @@ -82,7 +82,7 @@ ipc.on('autoUpdater:update-downloaded', function(e, releaseNotes, releaseName, r }); // Set Badge in taskbar for Windows -ipc.on('setBadge', (event, messageCount) => { +ipc.on('setBadge', function(event, messageCount) { messageCount = messageCount.toString(); var canvas = document.createElement("canvas"); canvas.height = 140;