mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 10:56:31 +08:00
fix (linter): js lint and check
This commit is contained in:
@ -37,7 +37,7 @@ class ModalComponent extends HTMLElement {
|
|||||||
await loadCSS(import.meta.url, "./modal.css");
|
await loadCSS(import.meta.url, "./modal.css");
|
||||||
}
|
}
|
||||||
|
|
||||||
trigger($node, { withButtonsLeft = null, withButtonsRight = null, targetHeight = 0, onQuit = (_a, _b) => Promise.resolve() }) {
|
trigger($node, { withButtonsLeft = null, withButtonsRight = null, onQuit = (_a, _b) => Promise.resolve() }) {
|
||||||
const close$ = new rxjs.Subject();
|
const close$ = new rxjs.Subject();
|
||||||
|
|
||||||
// feature: build the dom
|
// feature: build the dom
|
||||||
|
|||||||
@ -134,7 +134,6 @@ function componentLeft(render, { $scroll, getSelectionLength$ }) {
|
|||||||
componentShare(createModal({
|
componentShare(createModal({
|
||||||
withButtonsRight: null,
|
withButtonsRight: null,
|
||||||
withButtonsLeft: null,
|
withButtonsLeft: null,
|
||||||
targetHeight: 315,
|
|
||||||
}), { path: expandSelection()[0].path });
|
}), { path: expandSelection()[0].path });
|
||||||
})),
|
})),
|
||||||
onClick(qs($page, `[data-action="tag"]`)).pipe(rxjs.tap(() => {
|
onClick(qs($page, `[data-action="tag"]`)).pipe(rxjs.tap(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user