mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Fix for fonts awesome 5
This commit is contained in:
parent
3a204b1f55
commit
54d4716427
3 changed files with 32 additions and 8 deletions
|
@ -17,8 +17,8 @@ function compress(t) {
|
|||
left = $('#mvideo').find('.secC').offset().left + $('#mvideo').find('.secC').width() + 30;
|
||||
$(".compress").css('left', left);
|
||||
if(t!=undefined){
|
||||
t.removeClass('fa-compress');
|
||||
t.addClass('fa-expand');
|
||||
t.removeClass('ypt-compress');
|
||||
t.addClass('ypt-expand');
|
||||
}
|
||||
}
|
||||
function expand(t) {
|
||||
|
@ -35,13 +35,13 @@ function expand(t) {
|
|||
$('#mvideo').addClass('main-video');
|
||||
console.log("expand");
|
||||
if(t!=undefined){
|
||||
t.removeClass('fa-expand');
|
||||
t.addClass('fa-compress');
|
||||
t.removeClass('ypt-expand');
|
||||
t.addClass('ypt-compress');
|
||||
}
|
||||
}
|
||||
function toogleEC(t) {
|
||||
if(t!=undefined){
|
||||
if (t.hasClass('fa-expand')) {
|
||||
if (t.hasClass('ypt-expand')) {
|
||||
expand(t);
|
||||
Cookies.set('compress', false, {
|
||||
path: '/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue