mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Fix
This commit is contained in:
parent
e6c4791367
commit
a96c57293d
1 changed files with 3 additions and 3 deletions
|
@ -9569,13 +9569,13 @@ function setDefaultSort($defaultSortColumn, $defaultSortOrder) {
|
|||
function getWordOrIcon($word){
|
||||
$word = trim($word);
|
||||
if(preg_match('/facebook/i', $word)){
|
||||
return '<i class="fa fa-facebook" data-toggle="tooltip" title="'.$word.'"></i>';
|
||||
return '<i class="fab fa-facebook" data-toggle="tooltip" title="'.$word.'"></i>';
|
||||
}
|
||||
if(preg_match('/youtube|youtu.be/i', $word)){
|
||||
return '<i class="fa fa-youtube" data-toggle="tooltip" title="'.$word.'"></i>';
|
||||
return '<i class="fab fa-youtube" data-toggle="tooltip" title="'.$word.'"></i>';
|
||||
}
|
||||
if(preg_match('/twitch/i', $word)){
|
||||
return '<i class="fa fa-twitch" data-toggle="tooltip" title="'.$word.'"></i>';
|
||||
return '<i class="fab fa-twitch" data-toggle="tooltip" title="'.$word.'"></i>';
|
||||
}
|
||||
return $word;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue