Commit 1dcb8908f18818f1b18d1f52d75967013f4471c1

Tracey Emery 2020-02-12T14:51:25

fix missed viewport name attribute

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index ba67f80..0ec2613 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -1816,7 +1816,8 @@ gw_template(size_t key, void *arg)
 	switch (key) {
 	case (TEMPL_HEAD):
 		kerr = khtml_attr(gw_trans->gw_html_req, KELEM_META,
-		    KATTR_CONTENT, "initial-scale=1.0, user-scalable=no",
+		    KATTR_NAME, "viewport",
+		    KATTR_CONTENT, "initial-scale=.75, user-scalable=yes",
 		    KATTR__MAX);
 		if (kerr != KCGI_OK)
 			return 0;