Commit 26df326b authored by Akihiro Ota's avatar Akihiro Ota Committed by Commit Bot

ChromeVox: Fix resource paths

Due to changes in relative file paths, ChromeVox doesn't correctly
display images in the panel. Fix the relative file paths so they
get rendered correctly. Also ensures the options button in the
panel opens the options page.

Change-Id: I74f6e36086458f458b6725b8b5fad0ef08d5d99d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086291
Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746651}
parent 692d72b9
......@@ -357,7 +357,7 @@ Background = class extends ChromeVoxState {
* Open the options page in a new tab.
*/
showOptionsPage() {
const optionsPage = {url: 'options/options.html'};
const optionsPage = {url: '/chromevox/options/options.html'};
chrome.tabs.create(optionsPage);
}
......
......@@ -21,8 +21,8 @@
<div id="main">
<div hidden id="menus_title" class="i18n" msgid="menus_title"></div>
<button id="menus_button" aria-labelledby="menus_title">
<img id="chromevox" src="/images/chromevox-19.png">
<img id="triangle" src="/images/triangle-6.png">
<img id="chromevox" src="/chromevox/images/chromevox-19.png">
<img id="triangle" src="/chromevox/images/triangle-6.png">
</button>
<div id="caption">
<div id="speech-container">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment