Allow mobile users to zoom out.
authorEmil Mikulic <emikulic@gmail.com>
Mon, 23 Nov 2015 04:45:24 +0000 (15:45 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Mon, 23 Nov 2015 04:45:24 +0000 (15:45 +1100)
Suggested by: Dallen Wilson

html.c

diff --git a/html.c b/html.c
index 5f9c4f7..2aa3b05 100644 (file)
--- a/html.c
+++ b/html.c
@@ -35,7 +35,8 @@ void html_open(struct str *buf, const char *title,
          "<title>%s (darkstat %s)</title>\n"
          "<meta name=\"generator\" content=\"" PACKAGE_STRING "\">\n"
          "<meta name=\"robots\" content=\"noindex, noarchive\">\n"
-         "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">\n"
+         "<meta name=\"viewport\" "
+               "content=\"width=device-width, initial-scale=1\">\n"
          "<link rel=\"stylesheet\" href=\"%s/style.css\" type=\"text/css\">\n",
         title, title_interfaces, root);