mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
If `kiwix-serve` is run with the `--nosearchbar` option the toolbar is disabled (hidden) in its viewer. Note however that certain actions performed by the viewer merely with the purpose of keeping the toolbar up-to-date are still carried out.
6 lines
171 B
JavaScript
6 lines
171 B
JavaScript
const viewerSettings = {
|
|
toolbarEnabled: {{enable_toolbar}},
|
|
linkBlockingEnabled: {{enable_link_blocking}},
|
|
libraryButtonEnabled: {{enable_library_button}}
|
|
}
|