app/assets/javascripts/backbone/views/compare.js.coffee in tawork-0.0.39 vs app/assets/javascripts/backbone/views/compare.js.coffee in tawork-0.0.40
- old
+ new
@@ -33,8 +33,8 @@
$diff_link.click()
$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, onAfter: ->
+ $(document).scrollTo $change, 100, offset: -75, onAfter: ->
$changes.effect("highlight")
false