1
0
Fork 0
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:
Vinzenz Hersche 2018-06-08 02:48:20 +02:00
parent f5fced858a
commit 09ef9b0b1b
2 changed files with 7 additions and 6 deletions

View file

@ -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,