mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
📱
This commit is contained in:
parent
b363ccfc0f
commit
a5c21e3c09
1 changed files with 3 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ export const kernelError = () => {
|
|||
disableClose: true,
|
||||
title: `💔 ${window.siyuan.languages.kernelFault0} <small>v${Constants.SIYUAN_VERSION}</small>`,
|
||||
width: isMobile() ? "92vw" : "520px",
|
||||
content: `<div id="errorLog" class="b3-dialog__content">
|
||||
content: `<div class="b3-dialog__content">
|
||||
<div class="ft__breakword">
|
||||
<div>${window.siyuan.languages.kernelFault1}</div>
|
||||
<div class="fn__hr"></div>
|
||||
|
|
@ -50,6 +50,7 @@ export const kernelError = () => {
|
|||
</div>
|
||||
</div>`
|
||||
});
|
||||
dialog.element.id = 'errorLog'
|
||||
const restartElement = dialog.element.querySelector(".b3-button");
|
||||
if (restartElement) {
|
||||
restartElement.addEventListener("click", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue