summaryrefslogtreecommitdiffstats
path: root/mobile/android/focus-android/app/src/androidTest/assets/tab1.html
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/focus-android/app/src/androidTest/assets/tab1.html')
-rw-r--r--mobile/android/focus-android/app/src/androidTest/assets/tab1.html35
1 files changed, 18 insertions, 17 deletions
diff --git a/mobile/android/focus-android/app/src/androidTest/assets/tab1.html b/mobile/android/focus-android/app/src/androidTest/assets/tab1.html
index 4a9c8ce88e..c788eae33e 100644
--- a/mobile/android/focus-android/app/src/androidTest/assets/tab1.html
+++ b/mobile/android/focus-android/app/src/androidTest/assets/tab1.html
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width" />
<title>tab1</title>
-</head>
-<body>
+ </head>
+ <body>
<h1 id="content">Tab 1</h1>
<a href="tab2.html" id="tab2">Tab 2</a>
@@ -14,16 +14,17 @@
<!-- here we display if the page is in mobile or desktop view mode -->
<p id="viewMode"></p>
-</body>
-<script>
-window.mobileCheck = function() {
- let check = false;
- (function(a){
- if (a.includes("Android"))
- check = true;
- }) (navigator.userAgent)
- return check;
-};
-document.getElementById('viewMode').textContent=mobileCheck()? "mobile-site":"desktop-site";
-</script>
+ </body>
+ <script>
+ window.mobileCheck = function () {
+ let check = false;
+ (function (a) {
+ if (a.includes("Android")) check = true;
+ })(navigator.userAgent);
+ return check;
+ };
+ document.getElementById("viewMode").textContent = mobileCheck()
+ ? "mobile-site"
+ : "desktop-site";
+ </script>
</html>