diff --git a/Polyglot.safariextension/global.js b/Polyglot.safariextension/global.js index 11314e9..311b1c3 100644 --- a/Polyglot.safariextension/global.js +++ b/Polyglot.safariextension/global.js @@ -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); }