drapergeek/shortstuff

View on GitHub

Showing 1 of 1 total issue

Function prefilledInput has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  $.fn.prefilledInput = function() {

    var focus = function () {
      $(this).removeClass('prefilled');
      if (this.value == this.prefilledValue) {
Severity: Minor
Found in app/assets/javascripts/prefilled_input.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language