Skip to content

Commit

Permalink
fix(settings): update settings after changed
Browse files Browse the repository at this point in the history
  • Loading branch information
uetchy committed Nov 13, 2016
1 parent ffb93bc commit 3d7f0a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Polyglot.safariextension/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ function handleGetSettings(msg) {
// Update setting values immediately
function settingsChanged(event) {
settings[event.key] = event.newValue;
safari.application.activeBrowserWindow.activeTab.page.dispatchMessage('settingsReceived', settings);
}

0 comments on commit 3d7f0a7

Please sign in to comment.