Skip to content

Commit b6280cd

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
// @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
220220
// @author Adam Lui
221221
// @namespace https://github.com/adamlui
222-
// @version 2025.4.1.3
222+
// @version 2025.4.2
223223
// @license MIT
224224
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon48.png
225225
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon64.png
@@ -376,13 +376,13 @@
376376

377377
refresh() {
378378
if (typeof GM_unregisterMenuCommand == 'undefined') return
379-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
379+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
380380
},
381381

382382
register() {
383383

384384
// Show "Disabled (extension active)"
385-
this.ids = env.extensionActive ? [
385+
this.entryIDs = env.extensionActive ? [
386386
GM_registerMenuCommand(`${this.state.symbols[0]} ${
387387
toTitleCase(app.msgs.state_disabled)} (${app.msgs.menuLabel_extensionActive})`,
388388
() => modals.open('about'), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined )
@@ -406,7 +406,7 @@
406406
// Add About/Donate entries
407407
['about', 'donate'].forEach(entryType => {
408408
if (entryType === 'donate' && env.extensionActive) return
409-
this.ids.push(GM_registerMenuCommand(
409+
this.entryIDs.push(GM_registerMenuCommand(
410410
`${ entryType == 'about' ? '💡' : '💖' } ${
411411
app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
412412
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

0 commit comments

Comments
 (0)