You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix line-button issue after file selection in file tree (go-gitea#34574)
Fix the issue where the line-button fails to work after selecting a file
from the file tree.
---------
Co-authored-by: wxiaoguang <[email protected]>
# Conflicts:
# web_src/css/repo/file-view.css
// When viewing a file or blame, there is always a ".file-view" element,
114
+
// but the ".code-view" class is only present when viewing the "code" of a file; it is not present when viewing a PDF file.
115
+
// Since the ".file-view" will be dynamically reloaded when navigating via the left file tree (eg: view a PDF file, then view a source code file, etc.)
116
+
// the "code-view" related event listeners should always be added when the current page contains ".file-view" element.
0 commit comments