1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-11 16:18:10 +00:00

Merge pull request #192 from thewhodidthis/bf#175--css

Do hide the "Initialising the experiment..." message on PsychoJS init
This commit is contained in:
Alain Pitiot 2020-10-27 11:24:50 +01:00 committed by GitHub
commit 3639d9a21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -138,6 +138,11 @@ a:hover {
transform: translate(-50%, -50%);
}
/* Using double colons is the MDN recommended way */
#root.is-ready::after {
display: none;
}
/* Initialisation message for IE11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
#root:after {

View File

@ -165,6 +165,9 @@ export class PsychoJS
this.logger.info('[PsychoJS] Initialised.');
this.logger.info('[PsychoJS] @version 2020.2');
// Hide #root::after
$('#root').addClass('is-ready');
}