address eslint errors

This commit is contained in:
El RIDO
2025-10-07 00:11:49 +02:00
parent 85962a537a
commit e7c2aa4d60
10 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ function buildEmailDomWithShortUrl() {
'</ul></div></nav>' +
'<input id="burnafterreadingoption" type="checkbox">' +
'<div id="pastelink">Your document is ' +
`<a id="pasteurl" href="'https://short.example/xYz'">'https://short.example/xYz'</a> ` +
'<a id="pasteurl" href="https://short.example/xYz">https://short.example/xYz</a> ' +
'<span id="copyhint">(Hit <kbd>Ctrl</kbd>+<kbd>c</kbd> to copy)</span>' +
'</div>'
);
@@ -72,7 +72,7 @@ function stubWinOpen($element) {
return {
getUrl: () => openedUrl,
restore: () => { try { win.open = origOpen; } catch (e) {} },
restore: () => { try { win.open = origOpen; } catch (e) { /* suppress exception in restore */ } },
win
};
}