SpeciesFileGroup/taxonworks

View on GitHub
app/assets/javascripts/workbench/help.js

Summary

Maintainability
A
1 hr
Test Coverage

Function attachMouseEvent has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  attachMouseEvent (bubbleElement) {
    bubbleElement.addEventListener('mouseenter', event => {
      const elementLegend = document.querySelector('.help-legend')
      const element = event.target
      const position = this.getOffset(element)
Severity: Minor
Found in app/assets/javascripts/workbench/help.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status