albertyw/gentle-alerts

View on GitHub

Showing 1 of 25 total issues

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

Modal.prototype.registerModalClose = function registerModalClose() {
    var self = this;
    var originalCallbacks = {};
    var timeoutTimer = undefined;
    function isOnclick(onClickEvent) {
Severity: Minor
Found in gentle-alerts/script.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language