mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-07 05:59:02 +00:00
fix #183 make weekly calendar view name case insensitive
This commit is contained in:
parent
dccef7815f
commit
293e5ce228
@ -31,7 +31,7 @@ module.exports = {
|
||||
document
|
||||
.querySelectorAll('.notion-collection-view-select')
|
||||
.forEach((collection_view) => {
|
||||
if (collection_view.innerText != 'weekly') return;
|
||||
if (collection_view.innerText.toLowerCase() !== 'weekly') return;
|
||||
const days = collection_view.parentElement.parentElement.parentElement.parentElement.getElementsByClassName(
|
||||
'notion-calendar-view-day'
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user