Open sysr-q opened 10 years ago
I think I may have partially fixed that in one of my commits. It doesn't give any error at all for me.
I could just make it so if the user is not logged in the up vote button is disabled, or perhaps remove the entire box?
It'd make sense to still have the button - disabling it may be an option, but at the very least a good error message is required. This sort of ties in #3, since if we're working on vote-button design/functionality, might make sense to work out how to make it better on mobile devices.
I've implemented disabling of the button in #42 and it seems to work Ok. The popup just disappears when the upvote button is hovered on (some property of disabled buttons?). Probably not the best solution though. Maybe an onhover/onclick event triggering alert?
At the moment it's "You must be logged in to post a word", which doesn't really make sense in the context of voting. Would not understand/10.