Update listeners.js

This commit is contained in:
Kasper Rynning-Tønnesen
2019-01-22 16:01:16 +01:00
committed by GitHub
parent e830a4143b
commit 9bd4fcdf32

View File

@@ -1006,7 +1006,7 @@ function addDynamicListeners() {
Helper.toggleClass("#addToListInput", "hide");
});
addListener("submit", "#addToOtherListForm", function() {
addListener("submit", "#addToOtherListForm", function(event) {
this.preventDefault();
emit("add", {offsiteAdd: true, id: Player.np.id, start: Player.np.start, end: Player.np.end, title: Player.np.title, list: document.getElementById("other-list-name-add").value.toLowerCase(), duration: Player.np.duration, source: Player.np.source, thumbnail: Player.np.thumbnail});
Helper.toggleClass("#addToListInput", "hide");