diff options
-rw-r--r-- | org/madore/damlengine/TodoDamlElement.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoDamlElement.java b/org/madore/damlengine/TodoDamlElement.java index 6949086..dff27ee 100644 --- a/org/madore/damlengine/TodoDamlElement.java +++ b/org/madore/damlengine/TodoDamlElement.java @@ -86,6 +86,11 @@ public final class TodoDamlElement extends TodoDefaultElement { meta.setAttributeNS(null, "charset", "utf-8"); headNode.appendChild(meta); headNode.appendChild(ctx.doc.createTextNode("\n")); + meta = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "meta"); + meta.setAttributeNS(null, "name", "viewport"); + meta.setAttributeNS(null, "content", "width=device-width, initial-scale=1"); + headNode.appendChild(meta); + headNode.appendChild(ctx.doc.createTextNode("\n")); meta = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "link"); meta.setAttributeNS(null, "rel", "Shortcut Icon"); meta.setAttributeNS(null, "href", (((ctx.gc.uriToTop!=null)?ctx.gc.uriToTop:"") |