mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
edit close modal button
This commit is contained in:
parent
0d3c4249d3
commit
1f7b017c5c
@ -663,9 +663,12 @@ define([
|
||||
};
|
||||
$blockContainer.html('').appendTo($body);
|
||||
var $block = $(h('div.cp-modal')).appendTo($blockContainer);
|
||||
$(h('span.cp-modal-close.fa.fa-times', {
|
||||
title: Messages.filePicker_close
|
||||
})).click(hide).appendTo($block);
|
||||
$(h('span',[
|
||||
Icons.get('close', {
|
||||
'class': 'cp-modal-close',
|
||||
'title': Messages.filePicker_close
|
||||
}),
|
||||
])).click(hide).appendTo($block);
|
||||
$body.click(hide);
|
||||
$block.click(function (e) {
|
||||
e.stopPropagation();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user