Fix MangaDex search/browse when user account has non-default view mode (#1363)

This commit is contained in:
AviKav 2019-08-03 21:36:17 -04:00 committed by Eugene
parent 3aff4bd4c1
commit 27175b3dee
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: MangaDex'
pkgNameSuffix = 'all.mangadex'
extClass = '.MangadexFactory'
extVersionCode = 64
extVersionCode = 65
libVersion = '1.2'
}

View File

@ -93,7 +93,7 @@ open class Mangadex(override val lang: String, private val internalLang: String,
"${URLEncoder.encode(it.key, "UTF-8")}=${URLEncoder.encode(it.value, "UTF-8")}"
}
override fun popularMangaSelector() = "div.col-lg-6.border-bottom.pl-0.my-1"
override fun popularMangaSelector() = "div.manga-entry"
override fun latestUpdatesSelector() = "tr a.manga_title"
@ -304,7 +304,7 @@ open class Mangadex(override val lang: String, private val internalLang: String,
return GET(urlToUse, headersBuilder().build())
}
override fun searchMangaSelector() = "div.col-lg-6.border-bottom.pl-0.my-1"
override fun searchMangaSelector() = "div.manga-entry"
override fun searchMangaFromElement(element: Element): SManga {
val manga = SManga.create()