From 5b545d81bd1fa0436f90b195c395a5ee023cb5b9 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Sun, 20 Mar 2022 15:38:26 +0400 Subject: [PATCH] viewer += static/templates/head_taskbar.html Javascript code inside taskbar.js doesn't work correctly with the new viewer. Will fix any issues in a clone of static/skin/taskbar.js. --- static/viewer.html | 4 ++++ test/server.cpp | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/static/viewer.html b/static/viewer.html index 4e7228941..1906fd04e 100644 --- a/static/viewer.html +++ b/static/viewer.html @@ -4,6 +4,10 @@ ZIM Viewer + + + + diff --git a/test/server.cpp b/test/server.cpp index 35cd0532d..9dfca63f8 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -196,6 +196,16 @@ R"EXPECTEDRESULT( download hash download magnet download torrent +)EXPECTEDRESULT" + }, + { + /* url */ "/ROOT/viewer", +R"EXPECTEDRESULT( + + + + return '/skin/blank.html'; + if ( url == '/skin/blank.html' ) { )EXPECTEDRESULT" }, {