Skip to content

Commit 4c7a4f1

Browse files
committed
Corrected toggle comments to cover all control types ↞ [auto-sync from https://github.com/KudoAI/chatgpt.js-chrome-starter]
1 parent 68ce646 commit 4c7a4f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

starters/chrome/extension/popup/controller.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
notify(`${chrome.runtime.getManifest().name} ${ this.checked ? 'ON' : 'OFF' }`)
5959
}
6060

61-
// Create CHILD toggles on chatgpt.com
61+
// Create CHILD menu entries on chatgpt.com
6262
if (site == 'chatgpt') {
6363
await settings.load(settings.availKeys)
6464

65-
// Create/insert toggles section
65+
// Create/insert child section
6666
const togglesDiv = dom.create.elem('div', { class: 'menu' })
6767
document.querySelector('.menu-header').insertAdjacentElement('afterend', togglesDiv)
6868

69-
// Create/insert settings toggles
69+
// Create/insert child entries
7070
Object.keys(settings.controls).forEach(key => {
7171

7272
// Init elems

0 commit comments

Comments
 (0)