diff --git a/client/index.html b/client/index.html
index dae7afd948d..bb64b47f8c5 100644
--- a/client/index.html
+++ b/client/index.html
@@ -99,6 +99,10 @@
}, false);
});
+ if (ons.platform.isIPhoneX()) {
+ document.documentElement.setAttribute('onsflag-iphonex-portrait', '');
+ }
+