diff options
author | 2013-01-28 15:52:03 -0800 | |
---|---|---|
committer | 2013-01-28 15:52:03 -0800 | |
commit | ca69f84825da44598a29f57dce4c16691c29d449 (patch) | |
tree | e9f95396082fd4875955634e3f53dec406f4bfac /contexts/data/fiveui/chrome/background.js | |
parent | ac5da6bf6071cb6e9f83728f5b1ff71c739b8b8c (diff) |
updates to account for recent changes in Chrome
Diffstat (limited to 'contexts/data/fiveui/chrome/background.js')
-rw-r--r-- | contexts/data/fiveui/chrome/background.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contexts/data/fiveui/chrome/background.js b/contexts/data/fiveui/chrome/background.js index eab6798..4d34658 100644 --- a/contexts/data/fiveui/chrome/background.js +++ b/contexts/data/fiveui/chrome/background.js @@ -158,3 +158,10 @@ fiveui.chrome.background = function() { background.showUI(tab.id); }); }; + +// Add event listeners once the DOM has fully loaded by listening for the +// `DOMContentLoaded` event on the document, and adding your listeners to +// specific elements when it triggers. +document.addEventListener('DOMContentLoaded', function () { + fiveui.chrome.background(); +});
\ No newline at end of file |