You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello your plug in is quite nice! I am using it in a project and I would like to make the visit website button appear only when there is an actual link on the href attribute. I have been trying but so far I can only make go away everything else but the "visit website button"
`
if(eldata.href == "#"){
//HERE IS WHERE THERE IS NO LINK AND WHERE I CANT REMOVE DE BUTTON
console.log("sin definir link");
this.$title.html( eldata.title );
this.$description.html( eldata.description );
this.$href.attr( 'href', eldata.href );
}else if(eldata.href != "#"){
console.log("LINK");
this.$title.html( eldata.title );
this.$description.html( eldata.description );
this.$href.attr( 'href', eldata.href );
}
Thanks before hand !
The text was updated successfully, but these errors were encountered:
Hello your plug in is quite nice! I am using it in a project and I would like to make the visit website button appear only when there is an actual link on the href attribute. I have been trying but so far I can only make go away everything else but the "visit website button"
`
if(eldata.href == "#"){
//HERE IS WHERE THERE IS NO LINK AND WHERE I CANT REMOVE DE BUTTON
console.log("sin definir link");
this.$title.html( eldata.title );
this.$description.html( eldata.description );
this.$href.attr( 'href', eldata.href );
}else if(eldata.href != "#"){
console.log("LINK");
this.$title.html( eldata.title );
this.$description.html( eldata.description );
this.$href.attr( 'href', eldata.href );
}
The text was updated successfully, but these errors were encountered: