1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

defaults.js: fix the opened event with mp.input.get

The opened event doesn't send any arguments. Don't call
JSON.parse(undefined) in that case because it errors.

Fixes eb4c6be630, fixes #15301.
This commit is contained in:
Guido Cella 2024-11-13 07:20:55 +01:00 committed by sfan5
parent c60d8523ed
commit ea6b1119d3