WordPress.org

Making WordPress.org

Ticket #3711: 3711.diff

File 3711.diff, 1.0 KB (added by dryanpress, 16 months ago)
  • wordcamp.org/public_html/wp-content/plugins/camptix-attendance/addons/assets/attendance-ui.js

    diff --git wordcamp.org/public_html/wp-content/plugins/camptix-attendance/addons/assets/attendance-ui.js wordcamp.org/public_html/wp-content/plugins/camptix-attendance/addons/assets/attendance-ui.js
    index 150c37a3b..429548d39 100644
    jQuery(document).ready(function($){ 
    273273                        if ( options && options.controller ) {
    274274                                this.controller = options.controller;
    275275                        }
    276 
    277                         this.search = _.debounce( this.search, 500 );
    278276                },
    279277
    280278                /**
    jQuery(document).ready(function($){ 
    411409                        this.$list.on( 'scroll', this.scroll );
    412410                        this.$loading = this.$list.find( '.loading' );
    413411
    414                         this.on( 'search', this.search, this );
     412                        this.on( 'search', _.debounce( this.search, 350 ), this );
    415413                        this.on( 'flush', this.flush, this );
    416414                        this.on( 'more:toggle', this.moreToggle, this );
    417415                        this.on( 'filter', this.filter, this );