guy 7 years ago
parent
commit
11d0cf6d9a
  1. 7
      dist/fix/fix.compact.js

7
dist/fix/fix.compact.js vendored

@ -65,14 +65,7 @@
BI.Widget.prototype._init = function () { BI.Widget.prototype._init = function () {
var needPop = false; var needPop = false;
if (window.Fix && this._store) { if (window.Fix && this._store) {
var store = findStore(this.options.element);
if (store) {
pushTarget(store);
needPop = true;
}
this.store = this._store(); this.store = this._store();
needPop && popTarget();
needPop = false;
pushTarget(this.store); pushTarget(this.store);
if (this.store instanceof Fix.Model) { if (this.store instanceof Fix.Model) {
this.model = this.store.model; this.model = this.store.model;

Loading…
Cancel
Save