is-modalOpended sdk 版本不加前缀

This commit is contained in:
liaoxuezhi 2019-08-11 23:56:12 +08:00
parent e8ac509337
commit 4c391b2df2
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ function prefixCss(code, prefix) {
var m = sel.match(/(^| )(body|html)($|\W.*)/i);
if (m)
return m[1] + prefix + m[3];
else if (sel.match(/^(?:\.fr-|\.fa)/))
else if (sel.match(/^(?:\.fr-|\.fa|\.is\-modalOpened)/))
return sel;
else
return prefix + ' ' + sel;