From 842afa6c148fa14a6c294a27696f2e59b8294d4e Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Wed, 13 May 2020 15:26:55 +0200 Subject: [PATCH] right-click = go back --- src/be/nikiroo/fanfix/library/WebLibraryServer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/be/nikiroo/fanfix/library/WebLibraryServer.java b/src/be/nikiroo/fanfix/library/WebLibraryServer.java index b4a6e4bb..b76d8dc1 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("" // + "