No need to add meta header since it is already added via xml generated file

This commit is contained in:
emeric
2022-11-17 13:55:00 +01:00
parent a3884c23f1
commit cd96b09cf0
-3
View File
@@ -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