app/assets/javascripts/backbone/views/compare.js.coffee in tawork-0.0.40 vs app/assets/javascripts/backbone/views/compare.js.coffee in tawork-0.0.41

- old
+ new

@@ -17,10 +17,12 @@ $li = $("<li/>", class: "page-list-item") id = $change.attr("id") if id.indexOf("added") != -1 name = "Added" + else if id.indexOf("changed") != -1 + name = "Changed" else name = "Removed" $link = $("<a/>", href: "#", class: "change-item").html(name).attr("data-id", $change.attr("id")) $li.append $link @@ -34,7 +36,7 @@ $link = $(event.target).closest("a") $change = $("#" + $link.attr("data-id")) $changes = $("[changeid=" + $link.attr("data-id") + "], [changeid=" + $link.attr("data-id") + "] img") $(document).scrollTo $change, 100, offset: -75, onAfter: -> - $changes.effect("highlight") + $changes.effect("highlight", {}, 500) false