remove console logs
This commit is contained in:
parent
e18354686f
commit
b3a2995a79
@ -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(.+))?/);
|
||||||
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user