drowsy-probius / twitch-icon-selector

Found unused expressions JS-0093
Bug risk
Minor
a year agoa year old
Found unused expression
465  else if(document.querySelector(hiddenChatSelector) !== null)
466  {
467    logger.info(`Chat area is hidden!`);
468    chatAreaObserver && chatAreaObserver.disconnect();469    isChatHidden = true;
470  }
471}
Found unused expression
458  {
459    logger.info(`Chat area is recovered!`);
460    if(runner) runner.stop = true;
461    streamChatObserver && streamChatObserver.disconnect();462    runner = new Runner(false, 1);
463    isChatHidden = false;
464  }
Found unused expression
424  /**
425   * 이 부분은 특수 키가 아닐 때만 실행됨 => 변수 초기화
426   */
427  iconSelectorList.children[iconSelectorCursor] && iconSelectorList.children[iconSelectorCursor].classList.remove("selected");428  iconSelectorCursor = -1;
429}
430
Found unused expression
347    if(iconSelectorList.children[iconSelectorCursor])
348    {
349      iconSelectorList.children[iconSelectorCursor].classList.remove("selected");
350      iconSelectorList.children[iconSelectorCursor]._tippy && iconSelectorList.children[iconSelectorCursor]._tippy.destroy();351    }
352    iconSelectorCursor = (iconSelectorCursor <= 0) ? iconSelectorList.children.length - 1 : iconSelectorCursor - 1;
353    iconSelectorCursorArrowCount = Math.max(iconSelectorCursorArrowCount-1, -text.length);
Found unused expression
319    if(iconSelectorList.children[iconSelectorCursor])
320    {
321      iconSelectorList.children[iconSelectorCursor].classList.remove("selected");
322      iconSelectorList.children[iconSelectorCursor]._tippy && iconSelectorList.children[iconSelectorCursor]._tippy.destroy();323    }
324    iconSelectorCursor = (iconSelectorList.children.length === iconSelectorCursor + 1)
325    ? 0