mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 05:02:45 +01:00
fixed welcome page flicker
This commit is contained in:
parent
81ee6de0a3
commit
77d5f1e603
@ -5,8 +5,10 @@ const fileList = require('../templates/fileList');
|
||||
const { bytes, fadeOut } = require('../utils');
|
||||
|
||||
module.exports = function(state, emit) {
|
||||
// the page flickers if both the server and browser set 'fadeIn'
|
||||
const fade = state.layout ? '' : 'fadeIn';
|
||||
const div = html`
|
||||
<div id="page-one" class="fadeIn">
|
||||
<div id="page-one" class="${fade}">
|
||||
<div class="title">${state.translate('uploadPageHeader')}</div>
|
||||
<div class="description">
|
||||
<div>${state.translate('uploadPageExplainer')}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user