MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / popUIHandlers

Function popUIHandlers

renderer/renderJS/main_ui.js:113–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113function popUIHandlers() {
114 MA.byIdEventIfExists('loadOverlay_downloadCancelButton', () => { window.main_IPC.cancelDownload() })
115 MA.byIdEventIfExists('mismatchLaunchIgnore', () => { window.state.action.launchGame_IGNORE() })
116 MA.byIdEventIfExists('mismatchLaunchFix', () => { window.state.action.launchGame_FIX() })
117
118 MA.byIdEventIfExists('mod_info_input', () => { window.main_IPC.contextInput() }, 'contextmenu')
119 MA.byIdEventIfExists('mod_info_button', () => { window.state.action.setModInfo() })
120
121 MA.byIdEventIfExists('prefOverlay-debug', () => { window.main_IPC.dispatch('debug') })
122}
123
124// MARK: On Load
125window.addEventListener('DOMContentLoaded', () => {

Callers 1

main_ui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected