Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Lint recommendations

Mike McGann95727636b9aa
diff --git a/src/js/util/wv.util.browser.js b/src/js/util/wv.util.browser.js
index e1fbd1d84..2f80951bd 100644
--- a/src/js/util/wv.util.browser.js
+++ b/src/js/util/wv.util.browser.js
@@ -359,13 +359,13 @@ if (!String.prototype.endsWith) {
* Mobile device quirks.
*/
(function() {
- if( navigator.userAgent.match(/Android/i)
- || navigator.userAgent.match(/webOS/i)
- || navigator.userAgent.match(/iPhone/i)
- || navigator.userAgent.match(/iPad/i)
- || navigator.userAgent.match(/iPod/i)
- || navigator.userAgent.match(/BlackBerry/i)
- || navigator.userAgent.match(/Windows Phone/i)
+ if( navigator.userAgent.match(/Android/i) ||
+ navigator.userAgent.match(/webOS/i) ||
+ navigator.userAgent.match(/iPhone/i) ||
+ navigator.userAgent.match(/iPad/i) ||
+ navigator.userAgent.match(/iPod/i) ||
+ navigator.userAgent.match(/BlackBerry/i) ||
+ navigator.userAgent.match(/Windows Phone/i)
){
mobile = true;
if (!(window.orientation == 90 || window.orientation == -90)){