Fix flexbox issue

pull/1/head
yflory 4 years ago
parent 028d4941ab
commit 74b49adae5

@ -418,7 +418,7 @@ define([
var localStore = window.cryptpadStore; var localStore = window.cryptpadStore;
localStore.get('hide-alert-teamInvite', function (val) { localStore.get('hide-alert-teamInvite', function (val) {
if (val === '1') { return; } if (val === '1') { return; }
$(linkWarning).show(); $(linkWarning).css('display', 'flex');
$(dismissButton).on('click', function () { $(dismissButton).on('click', function () {
localStore.put('hide-alert-teamInvite', '1'); localStore.put('hide-alert-teamInvite', '1');

@ -341,7 +341,7 @@ define([
localStore.get('hide-alert-shareLinkWarning', function (val) { localStore.get('hide-alert-shareLinkWarning', function (val) {
if (val === '1') { return; } if (val === '1') { return; }
$(shareLinkWarning).show(); $(shareLinkWarning).css('display', 'flex');
$(dismissButton).on('click', function () { $(dismissButton).on('click', function () {
localStore.put('hide-alert-shareLinkWarning', '1'); localStore.put('hide-alert-shareLinkWarning', '1');
@ -737,7 +737,7 @@ define([
localStore.get('hide-alert-shareLinkWarning', function (val) { localStore.get('hide-alert-shareLinkWarning', function (val) {
if (val === '1') { return; } if (val === '1') { return; }
$(shareLinkWarning).show(); $(shareLinkWarning).css('display', 'flex');
$(dismissButton).on('click', function () { $(dismissButton).on('click', function () {
localStore.put('hide-alert-shareLinkWarning', '1'); localStore.put('hide-alert-shareLinkWarning', '1');

Loading…
Cancel
Save