is-modalOpended sdk 版本不加前缀

This commit is contained in:
liaoxuezhi 2019-08-11 23:56:12 +08:00 committed by catchonme
parent cddf09d636
commit 4cc799187d

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;