1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Fix coding style in web/chromecom.js

This commit is contained in:
Jonas Jenwald 2014-03-08 23:16:18 +01:00
parent 6597fea0da
commit 047a82a07e

View file

@ -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 {