fix redefied bug
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
const Selectors = {
|
||||
conversationsCheckbox: '.conversation-checkbox:checked',
|
||||
deleteButton: 'nav div a>div>button:nth-child(2)',
|
||||
confirmDeleteButton: 'button.btn.btn-danger',
|
||||
};
|
||||
|
||||
async function bulkDeleteConversations() {
|
||||
const selectedConversations = getSelectedConversations();
|
||||
|
||||
|
||||
8
globals.js
Normal file
8
globals.js
Normal file
@@ -0,0 +1,8 @@
|
||||
let lastChecked = null;
|
||||
|
||||
const Selectors = {
|
||||
conversationsCheckbox: '.conversation-checkbox:checked',
|
||||
deleteButton: 'nav div a>div>button:nth-child(2)',
|
||||
confirmDeleteButton: 'button.btn.btn-danger',
|
||||
};
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"*://chat.openai.com/*"
|
||||
],
|
||||
"js": [
|
||||
"globals.js",
|
||||
"addCheckboxes.js",
|
||||
"bulkDeleteConversations.js"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user