Skip to content

Commit f8d3d06

Browse files
committed
to regular function
1 parent df68895 commit f8d3d06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

open-in-mpv.plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
const settings = { showAgain: true };
1010

11-
const contextMenuPatch = (tree, context) => {
11+
function contextMenuPatch(tree, context) {
1212
const href = context.target.href || context.target.parentNode.href
1313

1414
if (href !== undefined) {
@@ -48,7 +48,7 @@ const contextMenuPatch = (tree, context) => {
4848
},
4949
}))
5050
}
51-
};
51+
}
5252

5353
document.createSvgElement = (name) => { return document.createElementNS("http://www.w3.org/2000/svg", name) };
5454

0 commit comments

Comments
 (0)