diff options
| author | Stephen Blott | 2016-02-28 10:14:41 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-02-28 10:14:41 +0000 |
| commit | 8adfa7c4ef8357b6cb945354d6da1b7b92615119 (patch) | |
| tree | 36733db872bb5812987e47e3209add67a1fa626b /background_scripts | |
| parent | f6a3bc3aa0c14af41a9b6035cc809071b4a27af1 (diff) | |
| parent | 1cd93d83258e9dd239186983852d3a3acfc484a5 (diff) | |
| download | vimium-8adfa7c4ef8357b6cb945354d6da1b7b92615119.tar.bz2 | |
Merge pull request #2014 from smblott-github/record-install-date
Add install date to logging page.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index a4162fc7..7c970866 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -658,5 +658,10 @@ showUpgradeMessage = -> showUpgradeMessage() +# The install date is shown on the logging page. +chrome.runtime.onInstalled.addListener ({reason}) -> + unless reason in ["chrome_update", "shared_module_update"] + chrome.storage.local.set installDate: new Date().toString() + root.TabOperations = TabOperations root.logMessage = logMessage |
