History

js: fix defaults.js

Fixes 2354d876da.

Guido Cella committed 2 years ago

Commit ae7e7d01 parent 2354d871 file · +3 −3Browse files

Showing the changes to player/javascript (1 of 1 file). Show all

Unified · Split

player/javascript/defaults.js+3−3
@@ -674,7 +674,7 @@ mp.input = { · 673 unmodified lines
674674
675675 register_event_handler(t)
676676 },
677− select: function () {
677+ select: function (t) {
678678 mp.commandv("script-message-to", "console", "get-input", mp.script_name,
679679 JSON.stringify({
680680 prompt: t.prompt,
@@ -682,8 +682,8 @@ mp.input = { · 1 unmodified line
682682 default_item: t.default_item,
683683 }));
684684
685− register_event_handler(t)
686− }
685+ register_event_handler(t);
686+ },
687687 terminate: function () {
688688 mp.commandv("script-message-to", "console", "disable");
689689 },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t