mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 08:38: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:
commit
3639d9a21f
@ -138,6 +138,11 @@ a:hover {
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Using double colons is the MDN recommended way */
|
||||||
|
#root.is-ready::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Initialisation message for IE11 */
|
/* Initialisation message for IE11 */
|
||||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||||
#root:after {
|
#root:after {
|
||||||
|
@ -165,6 +165,9 @@ export class PsychoJS
|
|||||||
|
|
||||||
this.logger.info('[PsychoJS] Initialised.');
|
this.logger.info('[PsychoJS] Initialised.');
|
||||||
this.logger.info('[PsychoJS] @version 2020.2');
|
this.logger.info('[PsychoJS] @version 2020.2');
|
||||||
|
|
||||||
|
// Hide #root::after
|
||||||
|
$('#root').addClass('is-ready');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user