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