.img_fo{
aspect-ratio: 16/9;
width: 100%;
height: auto;
margin-bottom: 8px;
object-fit: contain;
}
.badge-pl-plus__md-and-lg__element-text{
font-family: “Acto-Tiny-Medium” !important;
color: #0f213b !important;
font-size: 12px !important;
line-height: 15px !important;
z-index: 2 !important;
padding-top: 2px !important;
padding-right: 2px !important;
}
.posted-on{
color: #474747;
font-family: Acto-Small-Light;
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: 18px;
}
En clave de Fo
Para comenzar
Caricatura de Fo
Fo (Alfredo Morales)
24 de diciembre de 2024
|
00:06h
Foto:
jQuery(document).ready(function () {
jQuery(‘#save-fav-img’).click(function (){
if(tp.pianoId.getUser().uid != ‘0’ && this.className == ‘tosavefav’) {
const post_id = jQuery(‘#id_post’).val();
jQuery.ajax({
type: ‘POST’,
crossDomain: true,
dataType: ‘json’,
url: ‘https://foservices.prensalibre.com/usuario/favoritos/save_piano’,
data: {
uid: tp.pianoId.getUser().uid,
aid: post_id
},
success(data) {
jQuery(‘#save-fav-img .actions’).text(data.message);
sendPostMessageGtag({
‘event_label’: ‘Artículo guardado’,
‘value’: ‘1’,
}, ‘articulos_guardados’);
sendPostMessageGtag({
‘event_label’: ”,
‘value’: ‘1’,
}, ‘articulos_guardados_detalle’);
if(data.message != ‘guardar’){
jQuery(‘#save-fav-img’).removeClass(‘tosavefav’).addClass(‘tomyfavs’);
}
},
error() {
},
});
}
if(this.className == ‘tomyfavs’){
window.open(‘https://www.prensalibre.com/mis-articulos/’,’_blank’);
}
});
});