AlchemyCMS/alchemy_cms

View on GitHub
app/javascript/alchemy_admin/dirty.js

Summary

Maintainability
A
1 hr
Test Coverage

Function checkPageDirtyness has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function checkPageDirtyness(element) {
  let callback = () => {}

  if ($(element).is("form")) {
    callback = function () {
Severity: Minor
Found in app/javascript/alchemy_admin/dirty.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status