AthensFramework/core

View on GitHub
assets/js/select-a-section.js

Summary

Maintainability
A
1 hr
Test Coverage

Function select_a_section has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

athens.select_a_section = (function () {
    var revealSelectASection = function (selectASection, targetSelectionName) {
        var selectedOption = selectASection.find("div.option.selectable[data-section-for=" + targetSelectionName + "]");
        var selectedSelection = selectASection.find("div.selection[data-selection-name=" + targetSelectionName +"]");

Severity: Minor
Found in assets/js/select-a-section.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status