Skip to content

Commit

Permalink
fix: settings properly inject again
Browse files Browse the repository at this point in the history
  • Loading branch information
KraXen72 committed Feb 11, 2023
1 parent 1f3a06a commit 1e16d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ document.addEventListener('keydown', event => {
// Settings Stuff
document.addEventListener('DOMContentLoaded', () => {
// Side Menu Settings Thing
const settingsSideMenu = document.querySelectorAll('.menuItem')[6];
const settingsSideMenu = document.querySelector('.menuItem[onclick*="showWindow(1)"]');
settingsSideMenu.addEventListener('click', () => { updateSettingsTabs(lastActiveTab, true, true); });

// @ts-ignore cba to add it to the window interface
Expand Down

0 comments on commit 1e16d9a

Please sign in to comment.