BookStackApp/BookStack

View on GitHub
resources/js/components/pointer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function setupListeners has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    setupListeners() {
        // Copy on copy button click
        this.includeButton.addEventListener('click', () => copyTextToClipboard(this.includeInput.value));
        this.linkButton.addEventListener('click', () => copyTextToClipboard(this.linkInput.value));

Severity: Minor
Found in resources/js/components/pointer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status