ZywaveLabs / Retrospectre

MSOE SDL project.
http://retrospectre.zywave.com
MIT License
5 stars 2 forks source link

Like button #69

Open Awkewainze opened 8 years ago

Awkewainze commented 8 years ago

Just.... everything about it... If the card is currently liked by the current user, when they click the like button it will open the card model, we should try to figure out how to stop that.

Also, don't allow owner to like their own cards? Maybe?

And, We currently have this

if(eve.target.id === "likeButton") {
    eve.target.disabled = true;
} else if(eve.target.parentNode.id === "likeButton") {
    eve.target.parentNode.disabled = true;
}

That's just.... nasty.... Try to find better way to do this

Awkewainze commented 8 years ago

Y u close this?

JakeHuemann commented 7 years ago

clicking like 2nd time opens model