From 047a82a07e4e7b93e69bfd081739d4bff0386c3d Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 8 Mar 2014 23:16:18 +0100 Subject: [PATCH] Fix coding style in web/chromecom.js --- web/chromecom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/chromecom.js b/web/chromecom.js index 6e1a12b59..655e96b4c 100644 --- a/web/chromecom.js +++ b/web/chromecom.js @@ -35,7 +35,9 @@ var ChromeCom = (function ChromeComClosure() { }; if (!chrome.runtime) { console.error('chrome.runtime is undefined.'); - if (callback) callback(); + if (callback) { + callback(); + } } else if (callback) { chrome.runtime.sendMessage(message, callback); } else {