You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found the page html displays twice involving at least a flash and double load time with the first display disconcertingly ill formatted until the 2nd display overwrites it. This gave a rough unfinished feel becoming even more serious when audio is played on the page. The double rendering of the page means that the audio plays once then a second time on top of itself out of sync.
With a fair bit of enjoyable reading of the code we found we could fix this in UI.cs simply by commenting out the line that writes innerHtml to the response object:
Although we aren't entirely sure of all the consequences this makes certain sense if there is no point in waking the client with preliminary html if proper rendering is about to be presented via sockets in the call to ooui.js.
Because we are not sure if there was a reason for pushing innerHtml out we aren't presenting this as a pull request, but just something very easy for Frank to do in case he believes it's a good general solution and not just something that works for us.
No description provided.
The text was updated successfully, but these errors were encountered: