Fix broken link grabbing logic.
This commit is contained in:
parent
9ba95a073c
commit
2acba1a605
|
|
@ -718,7 +718,7 @@ function queue(pos, src) {
|
||||||
// is not always correct.
|
// is not always correct.
|
||||||
title = $("#addfromurl-title-val").val();
|
title = $("#addfromurl-title-val").val();
|
||||||
subtitle = "";
|
subtitle = "";
|
||||||
}else{
|
}else if(data.type === "ia"){
|
||||||
title = $("#addfromurl-title-val").val();
|
title = $("#addfromurl-title-val").val();
|
||||||
minDuration = $("#addfromurl-duration-val").val();
|
minDuration = $("#addfromurl-duration-val").val();
|
||||||
//Convert minDuration to a number that represents seconds instead of a string which represents minutes
|
//Convert minDuration to a number that represents seconds instead of a string which represents minutes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue