Found unused expressions JS-0093
Bug risk
Minor
4 months ago3 years old
10491        }
10492      }),
10493      (Toggle.prototype.onPointerUp = function (event) {
10494        typedoc.hasPointerMoved ||10495            (this.setActive(!0), event.preventDefault())10496      }),
10497      (Toggle.prototype.onDocumentPointerDown = function (e) {
10498        if (this.active) {
10310        preventPress && e.preventDefault()
10311      }),
10312    $('body').on('keydown', function (e) {
10313      e.altKey ||10314            e.ctrlKey ||10315            e.metaKey ||10316            (!hasFocus && e.keyCode > 47 && e.keyCode < 112 && $field.focus())10317    })
10318  })((search = typedoc.search || (typedoc.search = {})))
10319})(typedoc || (typedoc = {})),
10258          .addClass('current')
10259      } else {
10260        const $rel = dir == 1 ? $current.next('li') : $current.prev('li')
10261        $rel.length > 0 &&10262            ($current.removeClass('current'), $rel.addClass('current'))10263      }
10264    }
10265    function gotoCurrentResult () {
10242          value == SearchLoadingState.Ready && updateResults())
10243    }
10244    function setHasFocus (value) {
10245      hasFocus != value &&10246          ((hasFocus = value),10247          $el.toggleClass('has-focus'),10248          value ? (setQuery(''), $field.val('')) : $field.val(query))10249    }
10250    function setQuery (value) {
10251      (query = $.trim(value)), updateResults()
10235      }
10236    }
10237    function setLoadingState (value) {
10238      loadingState != value &&10239          ($el.removeClass(SearchLoadingState[loadingState].toLowerCase()),10240          (loadingState = value),10241          $el.addClass(SearchLoadingState[loadingState].toLowerCase()),10242          value == SearchLoadingState.Ready && updateResults())10243    }
10244    function setHasFocus (value) {
10245      hasFocus != value &&