mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Check the correct node when looking for detecting omnivore nodes
This commit is contained in:
parent
392ac15a62
commit
4afd598ada
1 changed files with 1 additions and 1 deletions
|
|
@ -2800,7 +2800,7 @@ Readability.prototype = {
|
|||
var walk = node
|
||||
|
||||
while (walk) {
|
||||
if (walk.className && node.className.startsWith("_omnivore")) {
|
||||
if (walk.className && walk.className.startsWith("_omnivore")) {
|
||||
return true
|
||||
}
|
||||
walk = walk.parentElement
|
||||
|
|
|
|||
Loading…
Reference in a new issue