When I vote on a post and immediately refresh or quit the page, my votes are lost. It seems the issue is due to some Ajax calls that can not be completed.
My ping durations may be a factor to Stack Overflow servers which is about 270 ms, as well.
So should there not be a warning for the issue? Like while writing a post, before attempting to quit or refresh the page:
If I am guessing right, the issue can be solved by putting my_alert_js_function()
on .ajaxStart( handler() )
.
Please could we do this? Each time I do my action fast, I feel go back and check again as Oded said in his comment.
The issue seems highly related to the quality of the ISP provider and if the Internet connection is shared. At work I can easily make the issue happen.