_observeFunctionChange()

in submit-rules/gr-simple-submit-rules-label-config.js [100:110]


  _observeFunctionChange(_function) {
    if (this._updatingFunction) {
      return;
    }
    this._updatingFunction = true;

    this._negativeBlocks = _function.indexOf('WithBlock') !== -1;
    this._maxVoteRequired = _function.indexOf('Max') !== -1;

    this._updatingFunction = false;
  }