WordPress.org

Making WordPress.org

Changeset 1393


Ignore:
Timestamp:
03/11/2015 01:52:21 PM (7 years ago)
Author:
obenland
Message:

WP.org Themes: First pass at fixing script445 error in IE.

See #952.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js

    r1375 r1393  
    6767
    6868        sort: function( sort ) {
    69             var sorter = $( '.filter-links [data-sort="' + sort + '"]' );
    70             this.clearSearch();
    71             this.clearFilters( new Event( 'click' ) );
     69            var sorter = $( '.filter-links [data-sort="' + sort + '"]'),
     70                self = this;
     71            self.clearSearch();
     72            self.clearFilters( new Event( 'click' ) );
    7273
    7374            $( '.filter-links li > a, .theme-filter' ).removeClass( this.activeClass );
Note: See TracChangeset for help on using the changeset viewer.