mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Remove some consoles notifications
This commit is contained in:
parent
e6b0638d7b
commit
cb8b6cc37a
2 changed files with 0 additions and 10 deletions
|
@ -210,9 +210,6 @@ function subscribe(email, user_id) {
|
|||
'user_id': user_id
|
||||
},
|
||||
success: function (response) {
|
||||
console.log(response);
|
||||
|
||||
|
||||
if (response.subscribe == "i") {
|
||||
$('.subs' + user_id).removeClass("subscribed");
|
||||
$('.subs' + user_id + ' b.text').text("Subscribe");
|
||||
|
@ -290,7 +287,6 @@ function addView(videos_id) {
|
|||
},
|
||||
success: function (response) {
|
||||
$('.view-count' + videos_id).text(response.count);
|
||||
console.log(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -302,7 +302,6 @@ echo $_SESSION['language']; ?>">
|
|||
if (!response[i].id) {
|
||||
continue;
|
||||
}
|
||||
console.log(response[i]);
|
||||
var icon = "lock"
|
||||
if (response[i].status == "public") {
|
||||
icon = "globe"
|
||||
|
@ -335,7 +334,6 @@ echo $_SESSION['language']; ?>">
|
|||
'playlists_id': $(this).val()
|
||||
},
|
||||
success: function (response) {
|
||||
console.log(response);
|
||||
modal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
|
@ -688,16 +686,12 @@ echo $_SESSION['language']; ?>">
|
|||
$(document).ready(function () {
|
||||
$("input.saveCookie").each(function () {
|
||||
var mycookie = Cookies.get($(this).attr('name'));
|
||||
console.log($(this).attr('name'));
|
||||
console.log(mycookie);
|
||||
if (mycookie && mycookie == "true") {
|
||||
$(this).prop('checked', mycookie);
|
||||
$('.autoPlayVideo').slideDown();
|
||||
}
|
||||
});
|
||||
$("input.saveCookie").change(function () {
|
||||
console.log($(this).attr('name'));
|
||||
console.log($(this).prop('checked'));
|
||||
var auto = $(this).prop('checked');
|
||||
if (auto) {
|
||||
$('.autoPlayVideo').slideDown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue