Skip to content

Commit

Permalink
Removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayquaza01 committed Oct 20, 2017
1 parent 61c9cd0 commit 4b4b2e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions extension/notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ async function loadSiteNotes(manualClick = false) {
if (!tabs[0].incognito || manualClick || (res.options.private_browsing && tabs[0].incognito)) {
var url = tabs[0].url;
var site = await siteParser(url);
console.log(site);
if (site === "general_notes") {
loadGeneralNotes();
} else {
Expand Down Expand Up @@ -244,13 +243,9 @@ function openTab() {
async function perTabSidebar() {
var res = await browser.storage.local.get("options");
var tabs = await browser.tabs.query({active: true, currentWindow: true});
console.log(tabs[0].id)
console.log(!back.dataset.hasOwnProperty(tabs[0].id));
console.log(res.options.default_display)
if (!back.dataset.hasOwnProperty(tabs[0].id)) {
switch (res.options.default_display) {
case "site_notes":
console.log("HERE")
loadSiteNotes();
break;
case "general_notes":
Expand Down

0 comments on commit 4b4b2e9

Please sign in to comment.