Fix inserting excerpt on compare diff (#11833)
Fix inserting excerpt on compare diff (#11833)

* Fix inserting excerpt on compare diff

* use currentTarget

* remove comment

Co-authored-by: techknowlogick <274271a2414b6bd0d2eb0401dd4ff6e85d7016a7@gitea.io>
sapk-fork/gitea,vdbt/gitea,vdbt/gitea,vCaesar/gitea,cez81/gitea,go-gitea/gitea,go-gitea/gitea,cez81/gitea,sapk-fork/gitea,sapk-fork/gitea,cez81/gitea,go-gitea/gitea,vCaesar/gitea,sapk-fork/gitea