No need to add meta header since it is already added via xml generated file
This commit is contained in:
@@ -16,9 +16,6 @@ namespace UserInterface
|
|||||||
LmsTheme::init(Wt::WApplication* app) const
|
LmsTheme::init(Wt::WApplication* app) const
|
||||||
{
|
{
|
||||||
app->require("js/bootstrap.bundle.min.js");
|
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
|
std::string
|
||||||
|
|||||||
Reference in New Issue
Block a user