Fix "Open this page in mpv" feature

This commit is contained in:
sudofoobar
2021-11-23 15:58:17 +09:00
parent 74987a4ba9
commit 064a0975a4

View File

@@ -2,7 +2,7 @@ import { getOptions, openInMPV, updateBrowserAction } from "./common.js";
updateBrowserAction();
[["page", "url"], ["link", "linkUrl"], ["video", "srcUrl"], ["audio", "srcUrl"]].forEach(([item, linkType]) => {
[["page", "pageUrl"], ["link", "linkUrl"], ["video", "srcUrl"], ["audio", "srcUrl"]].forEach(([item, linkType]) => {
chrome.contextMenus.create({
title: `Open this ${item} in mpv`,
id: `open${item}inmpv`,