From cd96b09cf09de2a792349f40e6c301625f267d0d Mon Sep 17 00:00:00 2001 From: emeric Date: Thu, 17 Nov 2022 13:55:00 +0100 Subject: [PATCH] No need to add meta header since it is already added via xml generated file --- src/lms/ui/LmsTheme.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lms/ui/LmsTheme.cpp b/src/lms/ui/LmsTheme.cpp index dc05c06d..c4b3bc43 100644 --- a/src/lms/ui/LmsTheme.cpp +++ b/src/lms/ui/LmsTheme.cpp @@ -16,9 +16,6 @@ namespace UserInterface LmsTheme::init(Wt::WApplication* app) const { app->require("js/bootstrap.bundle.min.js"); - Wt::WString v = app->metaHeader(Wt::MetaHeaderType::Meta, "viewport"); - if (v.empty()) - app->addMetaHeader("viewport", "width=device-width, initial-scale=1, user-scalable=no"); } std::string