mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
This commit is contained in:
parent
e6123f49ba
commit
44b5cdcd08
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
function compress(t) {
|
function compress(t) {
|
||||||
console.log("compress");
|
console.log("compress");
|
||||||
$("#modeYoutubeTop").prependTo("#modeYoutubeBottomContent");
|
$("#modeYoutubeTop").prependTo("#modeYoutubeBottomContent");
|
||||||
if(t!=undefined){
|
if(typeof t !== 'undefined'){
|
||||||
t.removeClass('ypt-compress');
|
t.removeClass('ypt-compress');
|
||||||
t.addClass('ypt-expand');
|
t.addClass('ypt-expand');
|
||||||
}
|
}
|
||||||
|
@ -10,13 +10,13 @@ function compress(t) {
|
||||||
function expand(t) {
|
function expand(t) {
|
||||||
console.log("expand");
|
console.log("expand");
|
||||||
$("#modeYoutubeTop").prependTo("#modeYoutubePrincipal");
|
$("#modeYoutubeTop").prependTo("#modeYoutubePrincipal");
|
||||||
if(t!=undefined){
|
if(typeof t !== 'undefined'){
|
||||||
t.removeClass('ypt-expand');
|
t.removeClass('ypt-expand');
|
||||||
t.addClass('ypt-compress');
|
t.addClass('ypt-compress');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function toogleEC(t) {
|
function toogleEC(t) {
|
||||||
if(t!=undefined){
|
if(typeof t !== 'undefined'){
|
||||||
if (t.hasClass('ypt-expand')) {
|
if (t.hasClass('ypt-expand')) {
|
||||||
expand(t);
|
expand(t);
|
||||||
Cookies.set('compress', false, {
|
Cookies.set('compress', false, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue