Make close button in alert work

This commit is contained in:
DianaXWiki 2025-09-24 15:14:57 +03:00
parent 7b43b03521
commit d68e2f0090

View File

@ -408,7 +408,7 @@ define([
// to avoid alert fatigue
if (!opts.versionHash && !opts.static) {
var localStore = window.cryptpadStore;
var dismissButton = Icons.get('close');
var dismissButton = h('span', [Icons.get('close')]);
var shareLinkWarning = h('div.alert.alert-warning.dismissable',
{ style: 'display: none;' },
[