Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Le Corre <[email protected]>
  • Loading branch information
mamatt committed Aug 19, 2024
1 parent e50fb11 commit 258df7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/AsciidocEngine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default {
this.converter = asciidoctor()
logger.debug('AsciiDoc engine loaded')

// now choose the right CSS
if (this.mode === "private") {
// now choose the right CSS
if (this.mode === 'private') {
if (document.body.dataset.themes.startsWith('dark')) {
import('github-markdown-css/github-markdown-dark.css')
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MarkdownEngine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default {
}

// now choose the right CSS
if (this.mode === "private") {
if (this.mode === 'private') {
if (document.body.dataset.themes.startsWith('dark')) {
import('github-markdown-css/github-markdown-dark.css')
}
Expand Down
2 changes: 1 addition & 1 deletion src/view/Readmemd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-->

<template>
<div v-if="fileName !== null && fileName!== undefined" :class="[ zone ]" :data-filename="fileName" >
<div v-if="fileName !== null && fileName!== undefined" :class="[ zone ]" :data-filename="fileName">
<MarkdownEngine v-if="engineType == 'markdown'"
:content="content"
:mode="mode"
Expand Down

0 comments on commit 258df7b

Please sign in to comment.