Skip to content

Commit 9d09fc9

Browse files
committed
Replaced null w/ undefined for omitted function params to follow ES6+ patterns ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent dbae785 commit 9d09fc9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
// @description:zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-poe.com!
236236
// @author Adam Lui
237237
// @namespace https://github.com/adamlui
238-
// @version 2025.9.27
238+
// @version 2025.9.28
239239
// @license MIT
240240
// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241241
// @icon64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
@@ -535,8 +535,9 @@
535535
settings(ctgKey) { // for categories
536536

537537
// Create modal
538-
const category = settings.categories[ctgKey],
539-
settingsModal = modals.alert(`${category.symbol} ${category.label}`, '<ul></ul>', null, null, 365)
538+
const category = settings.categories[ctgKey]
539+
const settingsModal = modals.alert(
540+
`${category.symbol} ${category.label}`, '<ul></ul>', undefined, undefined, 365)
540541
settingsModal.classList.add(`${app.slug}-settings-modal`)
541542

542543
// Create entries

0 commit comments

Comments
 (0)