fix: expose setReload function to the global window object for accessibility
This commit is contained in:
@@ -186,12 +186,13 @@ export const injectJavascriptData = ({
|
||||
}
|
||||
};
|
||||
|
||||
const setReload = () => {
|
||||
window.setReload = () => {
|
||||
try {
|
||||
document.getElementById('refreshIcon').click();
|
||||
setStrings();
|
||||
} catch(e) {}
|
||||
};
|
||||
const setReload = window.setReload;
|
||||
|
||||
// ポーリング処理 (Phase 3 以降)
|
||||
const startPolling = () => {
|
||||
|
||||
Reference in New Issue
Block a user