diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-06-21 15:57:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-21 15:57:18 -0400 |
commit | 4ebee3e17c2d536da7de33d16c2e44c54c4c8e51 (patch) | |
tree | 73d51b87ce6e4ac1fb1bb6d4f50dc2230835512e /ext/bg/js | |
parent | 0c69e54fde259568ebd89a3c9e8481cf28860ea8 (diff) |
Context popup update (#594)
* Add link to the help button
* Update context.html to not use bootstrap
Styles moved into a separate file
Update icons
* Update terminology to correspond to new icons
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/context-main.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/bg/js/context-main.js b/ext/bg/js/context-main.js index e90e7e2e..4a2ea168 100644 --- a/ext/bg/js/context-main.js +++ b/ext/bg/js/context-main.js @@ -66,7 +66,7 @@ async function mainInner() { setupButtonEvents('.action-open-search', 'search', chrome.runtime.getURL('/bg/search.html')); setupButtonEvents('.action-open-options', 'options', chrome.runtime.getURL(manifest.options_ui.page)); - setupButtonEvents('.action-open-help', 'help'); + setupButtonEvents('.action-open-help', 'help', 'https://foosoft.net/projects/yomichan/'); const optionsContext = { depth: 0, @@ -82,9 +82,7 @@ async function mainInner() { toggle2.addEventListener('change', () => api.commandExec('toggle'), false); setTimeout(() => { - for (const n of document.querySelectorAll('.toggle-group')) { - n.classList.add('toggle-group-animated'); - } + document.body.dataset.loaded = 'true'; }, 10); }); } |