Skip to content

Commit

Permalink
Update custom_page.js
Browse files Browse the repository at this point in the history
  • Loading branch information
u-Sir authored Dec 23, 2024
1 parent 4256e51 commit 7cbf35e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chromium/custom_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ function createIframe(url) {
return; // URL not found in storage, exit early
}

console.log("URL found at index:", index);

// Create the index selector dropdown
const selector = document.createElement("select");
Expand Down Expand Up @@ -138,7 +137,6 @@ function createIframe(url) {
// Add an event listener for when the user selects an index
selector.addEventListener("change", () => {
const selectedIndex = parseInt(selector.value); // Get selected index
console.log("Selected index:", selectedIndex);

// Swap the URL at the current index with the selected index
const temp = urls[index];
Expand Down

0 comments on commit 7cbf35e

Please sign in to comment.