[Libreoffice-commits] online.git: loleaflet/html

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 12 08:52:13 UTC 2019


 loleaflet/html/loleaflet.html.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 504f6c17ef4865450f9f6b0cc352931679001cff
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Sun Jun 30 16:00:34 2019 -0400
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Nov 12 08:51:44 2019 +0000

    loleaflet: mobile: block the user from zooming on a page by setting
    
    user-scalable=no in the viewport
    
    Change-Id: Ibbe07d088800e65e649e549625441d114511e45e

diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4
index 3758a47a4..7af24cdf1 100644
--- a/loleaflet/html/loleaflet.html.m4
+++ b/loleaflet/html/loleaflet.html.m4
@@ -10,7 +10,7 @@ define(_YEAR_,esyscmd(date +%Y|tr -d '\n'))
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>Online Editor</title>
 <meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
 
 <script>
 dnl# Define MOBILEAPP as true if this is either for the iOS app or for the gtk+ "app" testbed


More information about the Libreoffice-commits mailing list