-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable file-finder-buffer
everywhere
#4441
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ async function init(): Promise<void> { | |
<a | ||
hidden | ||
data-hotkey="t" | ||
data-pjax="true" | ||
data-pjax="#js-repo-pjax-container" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Setting the This is probably because the element is inserted outside the main "container" (as opposed of the native hotkey which is located on the "Go to file" button). Fixed it by changing the value of the attribute, mimicking the native link in the repo name heading: <a data-pjax="#js-repo-pjax-container" href="/sindresorhus/refined-github">refined-github</a> But this could also probably be fixed by inserting the link element directly inside the container. |
||
href={buildRepoURL('find', await getDefaultBranch())} | ||
/> | ||
); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since
.rgh-ci-link
is applied to the wrapper around the title, this was effectively removing the whole thing (including the inserted buffer).