remove console logs

This commit is contained in:
Maxime Cannoodt 2022-07-06 17:53:17 +02:00
parent e18354686f
commit b3a2995a79
2 changed files with 0 additions and 3 deletions

View File

@ -10,8 +10,6 @@
let content: HTMLElement; let content: HTMLElement;
$: console.log(content);
$: if (content) { $: if (content) {
const titleElement = content.getElementsByTagName('p')[0]; const titleElement = content.getElementsByTagName('p')[0];
const match = titleElement.innerText.split('\n')[0].match(/\[!(.+)\](?:\s(.+))?/); const match = titleElement.innerText.split('\n')[0].match(/\[!(.+)\](?:\s(.+))?/);

View File

@ -15,7 +15,6 @@
$: { $: {
if (browser) { if (browser) {
console.log('saving dark mode');
window.localStorage.setItem('isDarkMode', String(dark)); window.localStorage.setItem('isDarkMode', String(dark));
} }
} }