Sha256: 0398b0692979fd1a48bd9d3f373fe12e428908169a1b557a425da5bdafcc2844
Contents?: true
Size: 569 Bytes
Versions: 28
Compression:
Stored size: 569 Bytes
Contents
.task_comment-increment-buttons.text-center - Dorsale::Flyboy.progress_increment_buttons.each do |value| button.btn.btn-xs.increment type="button" data-value=value = "+" if value.positive? = "-" if value.negative? = value.abs coffee: $("button.increment").click -> current = parseInt $("#task_comment_progress").val() increment = parseInt this.dataset.value newValue = current + increment newValue = 0 if newValue < 0 newValue = 100 if newValue > 100 $("#task_comment_progress").val(newValue) $(this).blur()
Version data entries
28 entries across 28 versions & 1 rubygems