Remove todo comment

This commit is contained in:
the1812 2021-12-05 11:14:28 +08:00
parent 8f87ea7808
commit 39df9d6ca7

View File

@ -4,10 +4,8 @@ const redundantFrames = [
'https://t.bilibili.com/h5/dynamic/specification',
]
export const checkIframes = () => {
// TODO: if customNavbar enabled
if (redundantFrames.includes(document.URL)) {
console.log(`Skipped <iframe> loading for ${document.URL}`)
// componentsMap.darkMode.entry()
return false
}
return true