1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
DanielnetoDotCom 2020-10-19 17:13:22 -03:00
parent e6123f49ba
commit 44b5cdcd08

View file

@ -2,7 +2,7 @@
function compress(t) {
console.log("compress");
$("#modeYoutubeTop").prependTo("#modeYoutubeBottomContent");
if(t!=undefined){
if(typeof t !== 'undefined'){
t.removeClass('ypt-compress');
t.addClass('ypt-expand');
}
@ -10,13 +10,13 @@ function compress(t) {
function expand(t) {
console.log("expand");
$("#modeYoutubeTop").prependTo("#modeYoutubePrincipal");
if(t!=undefined){
if(typeof t !== 'undefined'){
t.removeClass('ypt-expand');
t.addClass('ypt-compress');
}
}
function toogleEC(t) {
if(t!=undefined){
if(typeof t !== 'undefined'){
if (t.hasClass('ypt-expand')) {
expand(t);
Cookies.set('compress', false, {