Skip to content
Browse files
chore(index.html): add charset, prevent scaling, use default attribut…
…es (#58)

- Add missing `<meta charset="utf-8">` to `<head>` section
- Add `user-scalable=no` to `<meta viewport>` to prevent users from scaling the app
- Remove unnecessary default type attributes like `type="text/css"`, `type="text/javascript"`
  • Loading branch information
mosabab authored and raphinesse committed Dec 4, 2019
1 parent bff5ef2 commit 131633292c9ea48c700d2dd42cc3ffd435597efc
Showing 1 changed file with 5 additions and 4 deletions.
@@ -19,6 +19,7 @@
<meta charset="utf-8">
Customize this policy to fit your own app's needs. For more guidance, see:
@@ -31,8 +32,8 @@
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
<link rel="stylesheet" type="text/css" href="css/index.css">
<meta name="viewport" content="user-scalable=no, initial-scale=1, width=device-width, viewport-fit=cover">
<link rel="stylesheet" href="css/index.css">
<title>Hello World</title>
@@ -43,7 +44,7 @@ <h1>Apache Cordova</h1>
<p class="event received">Device is Ready</p>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script src="cordova.js"></script>
<script src="js/index.js"></script>

0 comments on commit 1316332

Please sign in to comment.