(property)
| 740 | updateMenuCommands() |
| 741 | } |
| 742 | function toggleSwitch(property) { |
| 743 | if (property in config) { |
| 744 | config[property] = !config[property] |
| 745 | GM_setValue(property, config[property]) |
| 746 | updateMenuCommands() |
| 747 | } |
| 748 | } |
| 749 | function updateMenuCommands() {//LINK - |
| 750 | let menuCommands = [ |
| 751 | { label: translate('settings'), action: openSettings }, |
no test coverage detected