Skip to content

Commit

Permalink
Fixed if-statements and contents on same line
Browse files Browse the repository at this point in the history
  • Loading branch information
wolkesson authored Jun 15, 2018
1 parent a7ea8d5 commit 9b767d4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ openLinksInExternalBrowserByDefault();

$(document).ready(function () {
// translate to user-selected language
if (isNW()) { localize(); }
if (isNW()) {
localize();
}
});

function checkForConfiguratorUpdates() {
Expand Down Expand Up @@ -53,7 +55,9 @@ function notifyOutdatedVersion(releaseData) {
});
}

if (isNW()) { checkForConfiguratorUpdates(); }
if (isNW()) {
checkForConfiguratorUpdates();
}

function openLinksInExternalBrowserByDefault() {
try {
Expand Down

0 comments on commit 9b767d4

Please sign in to comment.