From 90dc580158ddb286b1f81d7ed3b6c974b24a8e6b Mon Sep 17 00:00:00 2001 From: luccioman Date: Tue, 27 Mar 2018 08:25:40 +0200 Subject: [PATCH] Fixed initial ViewFile mode and suggestions links from previous commit --- htroot/ViewFile.html | 2 +- htroot/ViewFile.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htroot/ViewFile.html b/htroot/ViewFile.html index c1d2ccd0d..5edae6672 100644 --- a/htroot/ViewFile.html +++ b/htroot/ViewFile.html @@ -45,7 +45,7 @@ function updatepage(str) { html += "URL from index (total results = " + totalResults + ")<\/td>"; for (var i = 0; i < firstChannel.items.length; i++) { item = firstChannel.items[i]; - html += "" + item.link + "<\/a><\/td>"; + html += "" + item.link + "<\/a><\/td>"; } html += "<\/table>"; } diff --git a/htroot/ViewFile.java b/htroot/ViewFile.java index 9a04a1fc6..d99ada761 100644 --- a/htroot/ViewFile.java +++ b/htroot/ViewFile.java @@ -89,7 +89,7 @@ public class ViewFile { prop.put("topmenu", sb.getConfigBool("publicTopmenu", true) ? 1 : 0); prop.put("moar", 0); prop.put("viewMode", VIEW_MODE_NO_TEXT); - prop.put("viewModeValue", ""); + prop.put("viewModeValue", "sentences"); prop.putHTML("error_words", ""); prop.put("error_vMode-sentences", "1"); prop.put("error", "1");