I've been trying everything and reading everywhere and can't seem to get this to work. What the heck am I doing wrong...
var visibility = $('#short-link').css('visibility');
$('#share-link span').click(function() {
if (visibility != 'hidden'){
$('#short-link').css({visibility: 'visible'});
} else {
$('#short-link').css({visibility: 'hidden'})
}
});
Please help