Set viewport and disable scaling
authorMichael Ang <mang@archive.org>
Thu, 6 May 2010 22:25:29 +0000 (22:25 +0000)
committerMichael Ang <mang@archive.org>
Thu, 6 May 2010 22:25:29 +0000 (22:25 +0000)
BookReaderIA/inc/BookReader.inc

index 8d96adb..303989a 100644 (file)
@@ -94,6 +94,7 @@ class BookReader
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <head>
+    <meta name="viewport" content="width=device-width, maximum-scale=1.0" />
     <title><? echo $title; ?></title>
 <!--[if lte IE 6]>
     <meta http-equiv="refresh" content="2; URL=/bookreader/browserunsupported.php?id=<? echo($id); ?>">