Explorar o código

Reduce debounce time for scrolling down.

JC Brand %!s(int64=6) %!d(string=hai) anos
pai
achega
0fa6bcdcc2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -359,7 +359,7 @@ converse.plugins.add('converse-chatview', {
             },
             },
 
 
             initDebounced () {
             initDebounced () {
-                this.scrollDown = _.debounce(this._scrollDown, 250);
+                this.scrollDown = _.debounce(this._scrollDown, 100);
                 this.markScrolled = _.debounce(this._markScrolled, 100);
                 this.markScrolled = _.debounce(this._markScrolled, 100);
                 this.show = _.debounce(this._show, 250, {'leading': true});
                 this.show = _.debounce(this._show, 250, {'leading': true});
             },
             },