mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-39246 JavaScript: store the time the page starts loading.
This helps synchronise time on the client side with time on the server. If you wait until a js_init_call runs, you might have had to wait an unknown number of seconds while all the JS loads. Therefore, we capture the current time as soon as possible in <head>. This is a bit like adding .jsenabled to <body> as soon as possible, to reduce visual flicker.
- Loading branch information
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters