commit | c9bece6ed61f06d46dc6245e3657559c9c371ea2 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@chromium.org> | Fri Feb 19 12:47:49 2016 -0500 |
committer | Andrew Bonventre <andybons@chromium.org> | Fri Feb 19 12:51:06 2016 -0500 |
tree | e941a8765093d26b9a48a3f4412e76534d6013c7 | |
parent | aa869fd2cdd81094784ea18e7b4634a1ac7a4fb0 [diff] |
Move click and webrequest handlers outside of onInstalled Since onInstalled is called when the extension is initially installed, updated, or when the browser updates, I believe this was causing the bug where clicking the page action icon was not working. The handlers should be installed whenever background.js is loaded. Change-Id: I88687185c32751d3afe6d0dab783cf4a39154ab2