[PR #4622] [MERGED] Fix Split-View line adjustment #17436

Closed
opened 2025-11-02 13:21:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4622
Author: @nemoinho
Created: 8/6/2018
Status: Merged
Merged: 8/9/2018
Merged by: @lunny

Base: masterHead: master


📝 Commits (2)

  • c41d91d Fix Split-View line adjustment
  • dce8f3d Merge branch 'master' into master

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 templates/repo/diff/box.tmpl (+2 -2)

📄 Description

The $-function is unreachable in the current implementation because jQuery is not loaded at execution time. I fix this by executing the function after the content is loaded, so jQuery is loaded at the time of execution and the call will not fail anymore.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4622 **Author:** [@nemoinho](https://github.com/nemoinho) **Created:** 8/6/2018 **Status:** ✅ Merged **Merged:** 8/9/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`c41d91d`](https://github.com/go-gitea/gitea/commit/c41d91da529bf5368116a3c05fcbe6123a4cad24) Fix Split-View line adjustment - [`dce8f3d`](https://github.com/go-gitea/gitea/commit/dce8f3d2ed94e55eb5ba4cf9c072556f3d9e7a00) Merge branch 'master' into master ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `templates/repo/diff/box.tmpl` (+2 -2) </details> ### 📄 Description The $-function is unreachable in the current implementation because jQuery is not loaded at execution time. I fix this by executing the function after the content is loaded, so jQuery is loaded at the time of execution and the call will not fail anymore. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 13:21:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17436