mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-11 23:20:46 +01:00
fix(glance-nav): use debounce instead of throttle
This commit is contained in:
@@ -76,7 +76,7 @@ function enableHandle() {
|
||||
return;
|
||||
}
|
||||
|
||||
const tUpdateHandleText = utils.throttle(updateHandleText, 250);
|
||||
const tUpdateHandleText = utils.debounce(updateHandleText, 250);
|
||||
|
||||
toggle(true);
|
||||
active = true;
|
||||
|
||||
Reference in New Issue
Block a user