提交 7068c856 编写于 作者: M Minwe

add `.am-standalone` class to `html` in iOS standalone mode

上级 b8c96fc0
......@@ -397,6 +397,11 @@ define(function(require, exports, module) {
UI.support.animation && $html.addClass('cssanimations');
// iOS standalone mode
if (window.navigator.standalone) {
$html.addClass('am-standalone');
}
$('.am-topbar-fixed-top').length && $body.addClass('am-with-topbar-fixed-top');
$('.am-topbar-fixed-bottom').length && $body.addClass('am-with-topbar-fixed-bottom');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册