mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
Use first element from srcset attribute
This commit is contained in:
@@ -178,7 +178,7 @@ class Madara extends MProvider {
|
|||||||
manga.imageUrl =
|
manga.imageUrl =
|
||||||
imageElement?.attr("data-src") ??
|
imageElement?.attr("data-src") ??
|
||||||
imageElement?.attr("data-lazy-src") ??
|
imageElement?.attr("data-lazy-src") ??
|
||||||
imageElement?.attr("srcset") ??
|
imageElement?.attr("srcset")?.split(" ")?.first ??
|
||||||
imageElement?.getSrc;
|
imageElement?.getSrc;
|
||||||
|
|
||||||
final id =
|
final id =
|
||||||
|
|||||||
Reference in New Issue
Block a user