Jacky Zhao
2022-04-30 416dc0b85cabfbb1dced0262b11256fa258f5ee9
assets/js/search.js
@@ -131,7 +131,7 @@
  }
  const redir = (id, term) => {
    window.location.href = BASE_URL + `${id}#:~:text=${encodeURIComponent(term)}`
    window.location.href = `${BASE_URL}${id}#:~:text=${encodeURIComponent(term)}/`
  }
  const formatForDisplay = id => ({