From ea37486309409048681496fb2449c1182d0f44eb Mon Sep 17 00:00:00 2001
From: toof <toof@toof.jp>
Date: Sat, 24 Dec 2022 15:38:49 +0000
Subject: [PATCH] fix: fix misspelling (#259)
---
assets/js/popover.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/js/popover.js b/assets/js/popover.js
index 29104b9..ca13f9a 100644
--- a/assets/js/popover.js
+++ b/assets/js/popover.js
@@ -5,7 +5,7 @@
return template.content.firstChild
}
-function initPopover(baseURL, useContextualBacklinks, renderLatex) {
+function initPopover(baseURL, useContextualBacklinks) {
const basePath = baseURL.replace(window.location.origin, "")
fetchData.then(({ content }) => {
const links = [...document.getElementsByClassName("internal-link")]
@@ -42,7 +42,7 @@
if (el) {
li.appendChild(el)
- if (renderLatex) {
+ if (LATEX_ENABLED) {
renderMathInElement(el, {
delimiters: [
{ left: '$$', right: '$$', display: false },
--
Gitblit v1.10.0