Closed eduardoarandah closed 8 years ago
Although the behaviour is OK, I see a bug for this commit:
After trying to vote twice, appears a "loading" message that doesn't go away.
Are you using a caching plugin or something? Because technically speaking, you should not see 'You Had Already Voted For This Poll. Poll ID #%s'
at all.
Yes. W3 total Cache
El lunes, 14 de marzo de 2016, Lester Chan notifications@github.com escribió:
Are you using a caching plugin or something? Because technically speaking, you should not see 'You Had Already Voted For This Poll. Poll ID #%s' at all.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/lesterchan/wp-polls/pull/67#issuecomment-196617639
Enviado desde mi móvil
Yap, that is the problem though, This plugin is not compatible with any caching plugin because those plugin caches the HTML page and this plugin doesn't load the initial poll via AJAX.
…y Voted For This Poll" because poll total height shrinks.
When user tries to vote again, the code shows a tiny message that gets lost on mobile versions because total height changes drastically.
Better aproach is showing poll results anyway, and a styled message on bottom.