Skip to:
Content

BuddyPress.org

Changeset 2510


Ignore:
Timestamp:
02/01/2010 10:40:47 AM (14 years ago)
Author:
apeatling
Message:

Make sure the page number cookie is reset on initial page load.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/global.js

    r2508 r2510  
    3333            j('div.item-list-tabs li#' + objects[i] + '-' + j.cookie('bp-' + objects[i] + '-scope') + ', div.item-list-tabs#object-nav li.current').addClass('selected');
    3434        }
     35
     36        /* Reset the page cookie on reload */
     37        j.cookie('bp-' + objects[i] + '-page', null);
    3538    });
    3639
Note: See TracChangeset for help on using the changeset viewer.