Skip to content

Commit

Permalink
Fix permissions popup; add needed function on window (#2554)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Jul 20, 2018
1 parent 145d5d9 commit efd9caf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions permissions_popup_preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const config = url.parse(window.location.toString(), true).query;
const { locale } = config;
const localeMessages = ipcRenderer.sendSync('locale-data');

window.getVersion = () => config.version;
window.theme = config.theme;
window.i18n = i18n.setup(locale, localeMessages);

Expand Down

0 comments on commit efd9caf

Please sign in to comment.