mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
try to fix subscribe
This commit is contained in:
parent
f5fced858a
commit
09ef9b0b1b
2 changed files with 7 additions and 6 deletions
|
@ -160,7 +160,7 @@ function changeVideoSrc(vid_obj, source) {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param {String} str 00:00:00
|
||||
* @returns {int} int of seconds
|
||||
*/
|
||||
|
@ -173,7 +173,7 @@ function strToSeconds(str) {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param {int} seconds
|
||||
* @param {int} level 3 = 00:00:00 2 = 00:00 1 = 00
|
||||
* @returns {String} 00:00:00
|
||||
|
@ -207,7 +207,7 @@ function validateEmail(email) {
|
|||
|
||||
function subscribe(email, user_id) {
|
||||
$.ajax({
|
||||
url: webSiteRootURL + 'objects/subscribe.json.php',
|
||||
url: webSiteRootURL + 'subscribe.json',
|
||||
method: 'POST',
|
||||
data: {
|
||||
'email': email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue