weblib: do not allow click on last image
[fanfix.git] / src / be / nikiroo / fanfix / library / WebLibraryServerHtml.java
index 5310c7c104953fdf90ed9ee97b2c4a6cd8c222a6..524fea36182ed1874c3f7946e6d86fd3578e9801 100644 (file)
@@ -648,8 +648,10 @@ abstract class WebLibraryServerHtml implements Runnable {
                                        }
 
                                        viewerItem = templates.viewerImage(WebLibraryUrls
-                                                       .getStoryUrl(luid, chapter, paragraph), next,
-                                                       zoomStyle);
+                                                       .getStoryUrl(luid, chapter, paragraph), //
+                                                       disabledRight ? null : next, //
+                                                       zoomStyle //
+                                                       );
                                } else {
                                        viewerItem = templates.viewerText(null,
                                                        new TextOutput(false).convert(para));