Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Nov 28, 2023
1 parent c102598 commit 26cb2ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activities/SharedNotes.activity/js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,9 @@ define(["sugar-web/activity/activity", "sugar-web/datastore", "notepalette", "zo
tutorial.start(tutorial.tourInit);
}, 500);
}
var defaultLanguage = (typeof chrome != 'undefined' && chrome.app && chrome.app.runtime) ? chrome.i18n.getUILanguage() : navigator.language;
var language = environment.user ? environment.user.language : defaultLanguage;
l10n.init(language);
var defaultLanguage = (typeof chrome != 'undefined' && chrome.app && chrome.app.runtime) ? chrome.i18n.getUILanguage() : navigator.language;
var language = environment.user ? environment.user.language : defaultLanguage;
l10n.init(language);
});

// Handle localization
Expand Down

0 comments on commit 26cb2ae

Please sign in to comment.