mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed buggy listener on playlist-add inputfield, and typo on keydown for iphone
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -239,7 +239,7 @@ $("#clickme").click(function(){
|
|||||||
Player.ytplayer.playVideo();
|
Player.ytplayer.playVideo();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#listImport').on("submit", function(){
|
$(document).on("submit", "#listImport", function(){
|
||||||
Search.importPlaylist(document.getElementById("import").value);
|
Search.importPlaylist(document.getElementById("import").value);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -288,7 +288,7 @@ function searchTimeout(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(/iPad|iPhone|iPod/.test(navigator.userAgent)){
|
if(/iPad|iPhone|iPod/.test(navigator.userAgent)){
|
||||||
$document.on('keydown', '.search_input', function(event) {
|
$(document).on('keydown', '.search_input', function(event) {
|
||||||
searchTimeout(event);
|
searchTimeout(event);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user