From: Niki Roo Date: Wed, 13 May 2020 13:26:55 +0000 (+0200) Subject: right-click = go back X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=842afa6c148fa14a6c294a27696f2e59b8294d4e;p=nikiroo-utils.git right-click = go back --- diff --git a/src/be/nikiroo/fanfix/library/WebLibraryServer.java b/src/be/nikiroo/fanfix/library/WebLibraryServer.java index b4a6e4b..b76d8dc 100644 --- a/src/be/nikiroo/fanfix/library/WebLibraryServer.java +++ b/src/be/nikiroo/fanfix/library/WebLibraryServer.java @@ -940,10 +940,12 @@ public class WebLibraryServer implements Runnable { } } + String javascript = "document.getElementById(\"previous\").click(); return false;"; content.append(String.format("" // - + "" + + "" + "" + "", // + javascript, // next, // zoomStyle, // getStoryUrl(luid, chapter, paragraph))); @@ -957,7 +959,7 @@ public class WebLibraryServer implements Runnable { builder.append(String.format("" // + "