Skip to content

Commit cebf952

Browse files
committed
Renamed toolbarMenu.ids to entryIDs for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/googlegpt]
1 parent dd0f3bc commit cebf952

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chatgpt/googlegpt/googlegpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
150150
// @author KudoAI
151151
// @namespace https://kudoai.com
152-
// @version 2025.4.1.1
152+
// @version 2025.4.2
153153
// @license MIT
154154
// @icon https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@59409b2/assets/images/icons/googlegpt/black/icon48.png
155155
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@59409b2/assets/images/icons/googlegpt/black/icon64.png
@@ -802,7 +802,7 @@
802802
refresh() {
803803
if (typeof GM_unregisterMenuCommand == 'undefined')
804804
return log.debug('GM_unregisterMenuCommand not supported.')
805-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
805+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
806806
},
807807

808808
register() {
@@ -811,11 +811,11 @@
811811
const pmLabel = this.state.symbols[+config.proxyAPIenabled] + ' '
812812
+ settings.controls.proxyAPIenabled.label + ' '
813813
+ this.state.separator + this.state.words[+config.proxyAPIenabled]
814-
this.ids = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
814+
this.entryIDs = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
815815
env.scriptManager.supportsTooltips ? { title: settings.controls.proxyAPIenabled.helptip } : undefined)];
816816

817817
// Add About/Settings entries
818-
['about', 'settings'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
818+
['about', 'settings'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
819819
entryType == 'about' ? `💡 ${settings.controls.about.label}` : `⚙️ ${app.msgs.menuLabel_settings}`,
820820
() => modals.open(entryType), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined
821821
)))

0 commit comments

Comments
 (0)