Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On some browsers (especially legacy ones), window.resize() and window.scroll() can fire thousands of times a second. We can improve performance by using $.debounce() if it is available.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1823612_debounce_1.patch | 1.1 KB | dalin |
Comments
Comment #1
dalinComment #2
NickDickinsonWildeHowever, Drupal 7 doesn't have a debounce function AFAIK so this would be of minimal use no?
Comment #3
NickDickinsonWilde