commit | 1a1d2b7498868fdd4540742c42ed54f03e2c0c82 | [log] [tgz] |
---|---|---|
author | avm99963 <me@avm99963.com> | Thu Aug 20 03:15:20 2020 +0200 |
committer | avm99963 <me@avm99963.com> | Thu Aug 20 03:15:20 2020 +0200 |
tree | 5bcc4cc717e539c8c41ba5af648be170721268a4 | |
parent | 8e030615adfcd15019ab1dd055075c59f1f6a2fb [diff] [blame] |
Access the options page when clicking the extension icon Change-Id: I4dc518e1a828c79dcb86149c8213d72fff47fde5
diff --git a/src/background.js b/src/background.js index 3e73282..e97a24e 100644 --- a/src/background.js +++ b/src/background.js
@@ -41,3 +41,7 @@ cleanUpOptions(); } }); + +chrome.browserAction.onClicked.addListener(function() { + chrome.runtime.openOptionsPage(); +});