Browse Source

update isSupportSticky()

research/test
dailer 1 year ago
parent
commit
c5a983481c
  1. 4
      src/core/platform/web/config.js

4
src/core/platform/web/config.js

@ -222,12 +222,12 @@
return BI.extend({}, ob, { type: "bi.vtape" }); return BI.extend({}, ob, { type: "bi.vtape" });
}); });
BI.Plugin.configWidget("bi.horizontal_sticky", function(ob) { BI.Plugin.configWidget("bi.horizontal_sticky", function(ob) {
if (!isSupportSticky) { if (!isSupportSticky()) {
return BI.extend({ scrollx: true }, ob, { type: "bi.horizontal_fill" }); return BI.extend({ scrollx: true }, ob, { type: "bi.horizontal_fill" });
} }
}); });
BI.Plugin.configWidget("bi.vertical_sticky", function(ob) { BI.Plugin.configWidget("bi.vertical_sticky", function(ob) {
if (!isSupportSticky) { if (!isSupportSticky()) {
return BI.extend({ scrolly: true }, ob, { type: "bi.vertical_fill" }); return BI.extend({ scrolly: true }, ob, { type: "bi.vertical_fill" });
} }
}); });

Loading…
Cancel
Save