mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #525 from kiwix/html-only-root-link
Insert root link only if html content
This commit is contained in:
commit
5188355878
|
@ -260,9 +260,9 @@ Response::create_mhd_response(const RequestContext& request)
|
|||
MHD_Response*
|
||||
ContentResponse::create_mhd_response(const RequestContext& request)
|
||||
{
|
||||
inject_root_link();
|
||||
|
||||
if (contentDecorationAllowed()) {
|
||||
inject_root_link();
|
||||
|
||||
if (m_withTaskbar) {
|
||||
introduce_taskbar();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue