Trying fix for vote/add on mobile-client

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-23 18:18:24 +01:00
parent a02cdbcf88
commit c03d85b83f
3 changed files with 5 additions and 3 deletions

View File

@@ -192,6 +192,7 @@ function addPlaylist(arr, guid, offline, socket) {
if(!this_element.hasOwnProperty("end")) this_element.end = this_element.duration;
this_element.start = parseInt(this_element.start);
this_element.end = parseInt(this_element.end);
this_element.type = "video";
this_element.duration = parseInt(this_element.duration);
if(this_element.start > this_element.end) {
this_element.start = 0;