R-a-dio / site

R/a/dio's site, open-sourced.
https://r-a-d.io
MIT License
145 stars 19 forks source link

Countdown timers on request page show "about X hours ago" #35

Open Bevinsky opened 10 years ago

Bevinsky commented 10 years ago

Title says everything. If left for a while, songs that are on cooldown will eventually switch over to "ago" format instead of becoming requestable.

ameliaikeda commented 10 years ago

I'm not sure if this is too much of an issue? Your copy of a page that is not data-uri="/" that is loaded into the browser (and History.js) is destroyed after navigating away

I suppose we could run a one-minute timer that checks for .request-button and times that are now negative? Since adding callbacks to timeago could be a horrifying experience due to lag (there could be hundreds of these loaded)

HotnReady commented 9 years ago

Also present on submission page. screenshot 14