Diff
Not logged in

Differences From Artifact [9e80ea5d27]:

To Artifact [4ef8f59791]:


147
148
149
150
151
152
153

154
155


156
157
158
159
160
161
162
      inputToggleSingleMulti: function(){
        const old = this.e.inputCurrent;
        if(this.e.inputCurrent === this.e.inputSingle){
          this.e.inputCurrent = this.e.inputMulti;
        }else{
          this.e.inputCurrent = this.e.inputSingle;
        }

        D.addClass(old, 'hidden');
        D.removeClass(this.e.inputCurrent, 'hidden');


        this.e.inputCurrent.value = old.value;
        old.value = '';
        return this;
      },
      /** Enables (if yes is truthy) or disables all elements in
       * this.disableDuringAjax. */
      enableAjaxComponents: function(yes){







>


>
>







147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
      inputToggleSingleMulti: function(){
        const old = this.e.inputCurrent;
        if(this.e.inputCurrent === this.e.inputSingle){
          this.e.inputCurrent = this.e.inputMulti;
        }else{
          this.e.inputCurrent = this.e.inputSingle;
        }
        const ht1 = D.effectiveHeight(old); 
        D.addClass(old, 'hidden');
        D.removeClass(this.e.inputCurrent, 'hidden');
        const ht2 = D.effectiveHeight(this.e.inputCurrent);
        this.e.messagesWrapper.scrollBy(0, ht2 - ht1);
        this.e.inputCurrent.value = old.value;
        old.value = '';
        return this;
      },
      /** Enables (if yes is truthy) or disables all elements in
       * this.disableDuringAjax. */
      enableAjaxComponents: function(yes){