The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
147 B

  1. module.exports = class {
  2. isHighlighted(id) {
  3. if (typeof(window) !== "undefined") {
  4. return window.location.hash.endsWith(id)
  5. }
  6. }
  7. }