Sha256: 3752f489abd15fe90e91516fade05e506817d94a9fe0e3587a92769868b55049
Contents?: true
Size: 335 Bytes
Versions: 8
Compression:
Stored size: 335 Bytes
Contents
$ -> $(".note-wrapper form").submit (event) -> event.preventDefault() $note = $(this).find(".note") $(this).find(".toggle-note").prop "checked", false $note.addClass "-saving" $.post this.action, $(this).serialize(), (data) => $note.removeClass "-saving" $note.toggleClass "-saved", data == "true"
Version data entries
8 entries across 8 versions & 1 rubygems