ritstudentgovernment / PawPrints

PawPrints petition application for the RIT community.
https://pawprints.rit.edu
Apache License 2.0
16 stars 13 forks source link

"Copy link" button is non-functional #146

Closed Jack-Papel-RIT closed 1 year ago

Jack-Papel-RIT commented 1 year ago

On every petition, there is a "Share" section with four buttons: Facebook, Twitter, Reddit, and copy link.

However, it appears that the copy link button was never implemented. Clicking on it produces no effect, and hovering over it doesn't change the cursor. This always throws me for a loop, since the main way I share petitions with people is via the link.

Looking in the code for the page, it appears that while the other three buttons are <a> tags, the copy link button is just an <img>.

MoralCode commented 1 year ago

i investigated a little further. Looks like the button does work via javascript but it provides no indication that it does (via hover cursor change or any kind of animation).

see petitions/static/index.js:944