Skip to content

Commit

Permalink
fix: fix help link per tab
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Oct 5, 2024
1 parent 221c54c commit df1a57b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Shokofin/Pages/Scripts/Common.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export function updateTabs(view, tabName) {

LibraryMenu.setTabs("shoko", index, () => tabs);

const helpLink = view.querySelector(".sectionTitleContainer > a.helpLink");
const helpLink = view.querySelector(".sectionTitleContainer > a.headerHelpButton");
if (helpLink) {
const currentTab = Tabs.find(tab => tab.id === State.currentTab);
if (currentTab) {
Expand Down Expand Up @@ -868,8 +868,8 @@ export function setupEvents(view, events, initialTab = "connection", hide = fals
const eventDetails = {
/** @type {MinimalDetails} */
detail: {
type: event.detail.type,
properties: event.detail.properties,
type: view.getAttribute("data-type") || null,
properties: (view.getAttribute("data-properties") || "").split(","),
},
bubbles: true,
cancelable: false,
Expand Down

0 comments on commit df1a57b

Please sign in to comment.