Sha256: d1e44ac328eb820d7f08b73b7c6ca47461ae0059f50968ec2f69d1669ac67354

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

;(function ($) {
  var dirty = false;

  $("input, textarea, select").live('change', function () {
    if (dirty) { return; }
    if ($(this).is('.neutral')) { return; }

    dirty = true;
    $('body').addClass('dirty').trigger('dirty');
  });
})(jQuery);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 public/js/lib.dirty.js