Skip to content

Commit 6436445

Browse files
committed
Removed bad calls
1 parent d8f5f5b commit 6436445

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,9 @@ async function switchProfile(profileName) {
108108
if (profile) {
109109
await chrome.storage.sync.set({ 'currentProfile': profileName });
110110
logConfigurationRelatedStuff(`Switched to profile: ${profileName}`);
111-
showToast(`Switched to profile: ${profileName}`, 'info');
112111
return profile;
113112
} else {
114-
logConfigurationRelatedStuff(`Failed to switch to profile: ${profileName}`);
115-
showToast(`Failed to switch to profile: ${profileName}`, 'error');
113+
logConfigurationRelatedStuff(`Failed to switch to profile: ${profileName}`);
116114
return null;
117115
}
118116
} catch (error) {

popup-page-scripts/popup-page-script.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ function handleDragOver(e) {
350350
parent.insertBefore(draggedItem, target.nextSibling);
351351
}
352352

353-
// Auto-scroll if near top/bottom
354-
handleAutoScroll();
355353
}
356354

357355
function handleDrop(e) {

0 commit comments

Comments
 (0)