Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-12 14:31:58 +01:00
forgejo/web_src/js
Giteabot 1f90376041
Fix show more for image on diff page (#25672) (#25673)
Backport #25672 by @HesterG

Right now when clicking on loadmore on files change page, if the loaded
content is image, it will be always in load status:


https://github.com/go-gitea/gitea/assets/17645053/39e449b6-067a-474c-9443-9dd98d5bbfe2

This PR fixes this by adding `initImageDiff ` to `onShowMoreFiles `

After:


https://github.com/go-gitea/gitea/assets/17645053/87bbb13e-0064-4a6e-a7ad-0f0060eb8bff

Co-authored-by: HesterG <hestergong@gmail.com>
2023-07-04 04:44:45 -04:00
..
components Fix rerun icon on action view component (#25531) (#25536) 2023-06-27 12:28:14 -04:00
features Fix show more for image on diff page (#25672) (#25673) 2023-07-04 04:44:45 -04:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227) 2023-06-13 08:23:21 +00:00
modules Make "cancel" buttons have proper type in modal forms (#25618) (#25641) 2023-07-03 17:09:38 +08:00
render Add PDF rendering via PDFObject (#24086) 2023-05-29 12:10:00 +00:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
test Improve emoji and mention matching (#24255) 2023-04-22 11:32:34 -04:00
utils Add two eslint plugins (#24776) 2023-05-18 09:14:31 +08:00
webcomponents Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
bootstrap.js Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
index.js Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Add show timestamp/seconds and fullscreen options to action page (#24876) 2023-05-30 20:38:55 +00:00
svg.test.js Improve <SvgIcon> to make it output svg node and optimize performance (#23570) 2023-03-23 11:24:16 +08:00
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) (#25211) 2023-06-12 18:16:04 +02:00
utils.test.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00