Skip to content

Commit

Permalink
Fix sticky settings init
Browse files Browse the repository at this point in the history
  • Loading branch information
danrahn committed Mar 14, 2024
1 parent 8ff82da commit ae948e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Client/Script/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ import VersionManager from './VersionManager.js';

window.Log = BaseLog; // Let the user interact with the class to tweak verbosity/other settings.

window.addEventListener('load', setup);
window.addEventListener('load', init);

/** Initial setup on page load. */
function setup() {
function init() {
HelpOverlay.SetupHelperListeners();
StickySettingsBase.Setup(); // MUST be before SettingsManager
SettingsManager.CreateInstance();
PlexUIManager.CreateInstance();
PlexClientStateManager.CreateInstance();
ResultSections.CreateInstance();
Tooltip.Setup();
ButtonCreator.Setup();
ThumbnailMarkerEdit.Setup();
StickySettingsBase.Setup();
ServerPausedOverlay.Setup();
SetupWindowResizeEventHandler();

Expand Down

0 comments on commit ae948e6

Please sign in to comment.