mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
6acaf505ba
commit
b7b50379a1
1 changed files with 4 additions and 1 deletions
|
@ -2097,9 +2097,12 @@ function checkMoment() {
|
|||
}
|
||||
|
||||
function addGetParam(_url, _key, _value) {
|
||||
if (typeof _url !== 'string' || typeof _value == 'undefined' || _value == 'undefined' || _value == '') {
|
||||
if (typeof _url !== 'string') {
|
||||
return false;
|
||||
}
|
||||
if (typeof _value == 'undefined' || _value == 'undefined' || _value == '') {
|
||||
return _url;
|
||||
}
|
||||
var param = _key + '=' + escape(_value);
|
||||
var sep = '&';
|
||||
if (_url.indexOf('?') < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue