|
|
|
@@ -19,10 +19,16 @@ const keybinds: Keybind[] = [ |
|
|
|
functionName: 'move', |
|
|
|
displayName: null, |
|
|
|
callback: () => { |
|
|
|
const moveButton: HTMLButtonElement = |
|
|
|
document.querySelector('button[name=move_region]') as HTMLButtonElement; |
|
|
|
if (moveButton) |
|
|
|
moveButton.click(); |
|
|
|
if (urlParams['page'] === 'reports') { |
|
|
|
const actionButton: HTMLInputElement = document.querySelector('#action'); |
|
|
|
if (actionButton) |
|
|
|
actionButton.click(); |
|
|
|
} else { |
|
|
|
const moveButton: HTMLButtonElement = |
|
|
|
document.querySelector('button[name=move_region]') as HTMLButtonElement; |
|
|
|
if (moveButton) |
|
|
|
moveButton.click(); |
|
|
|
} |
|
|
|
}, |
|
|
|
modifiedCallback: null |
|
|
|
}, |
|
|
|
|