I've encountered a weird CSS quirk where the layout misbehaves on the first load of a web page, but it works after you refresh. This behavior is only observed in Chrome.
To reproduce:
See that the right sidebar is pushed underneath the page, even through there is enough spacing and it is set to
float: right
Refresh the page
Observe that the right sidebar is no longer pushed underneath the page.
Open a new tab, open https://coinchat.org/j:offtopic
Go to 2
The following code fixes this:
$("#chatsidebar").hide();
setTimeout(function(){
$("#chatsidebar").show();
}, 1);
My question is, why?