Fixed linter errors

This commit is contained in:
squidfunk 2020-09-27 22:50:00 +02:00
parent 9c4009f608
commit c7ddada630
2 changed files with 5 additions and 2 deletions

View File

@ -66,7 +66,10 @@ export function setupClipboard(
blocks.forEach((block, index) => {
const parent = block.parentElement!
parent.id = `__code_${index}`
parent.insertBefore(renderClipboardButton(parent.id), block)
parent.insertBefore(
renderClipboardButton(parent.id),
block
)
})
})

View File

@ -29,6 +29,7 @@ import {
} from "rxjs/operators"
import { WorkerHandler, watchWorker } from "browser"
import { translate } from "utilities"
import { SearchIndex, SearchIndexPipeline } from "../../_"
import {
@ -37,7 +38,6 @@ import {
SearchSetupMessage,
isSearchResultMessage
} from "../message"
import { translate } from "utilities"
/* ----------------------------------------------------------------------------
* Helper types