From 0332d8dd79e6cd9f62748747c2733f7e706dec0e Mon Sep 17 00:00:00 2001 From: inorichi Date: Tue, 19 Jan 2016 21:07:32 +0100 Subject: [PATCH] Fix #39 --- .../tachiyomi/data/source/online/english/Mangafox.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java index 8b5c5dd089..229ead3e61 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java +++ b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java @@ -228,12 +228,8 @@ public class Mangafox extends Source { Elements pageUrlElements = parsedDocument.select("select.m").first().select("option:not([value=0])"); String baseUrl = parsedDocument.select("div#series a").first().attr("href").replace("1.html", ""); - int counter = 1; for (Element pageUrlElement : pageUrlElements) { - if(counter < pageUrlElements.size()) { - pageUrlList.add(baseUrl + pageUrlElement.attr("value") + ".html"); - } - counter++; + pageUrlList.add(baseUrl + pageUrlElement.attr("value") + ".html"); } return pageUrlList;