Jacky Zhao
2022-12-04 ce5df837f5f6ed57f9e9f85439ee9a40ebf234dc
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 },