angelakuo/citydogshare

View on GitHub
public/assets/materialize/leanModal-075befa387f6509a7504fc07beafcc796c44969652edcb2d71eedffd8e2ace01.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function openModal has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    openModal: function(options) {

      var $body = $('body');
      var oldWidth = $body.innerWidth();
      $body.css('overflow', 'hidden');

    Function closeModal has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        closeModal: function(options) {
          var defaults = {
            out_duration: 250,
            complete: undefined
          };

      There are no issues that match your filters.

      Category
      Status