Changeset 9510
- Timestamp:
- 02/19/2020 04:53:28 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r9340 r9510 1568 1568 renderAddSection(); 1569 1569 1570 if ( authenticated ) { 1571 // Fetch the PRs immediately for authenciated users. 1572 fetchPRs(); 1573 1574 // ..and expand the section by default. 1575 container.toggleClass( 'collapsed', false ); 1576 } else { 1577 // Not authenticated? Fetch PRs upon expanding. 1578 container.find( 'h3 a' ).one( 'click', function() { 1579 fetchPRs(); 1580 }); 1581 } 1570 // Fetch the PRs immediately 1571 fetchPRs(); 1582 1572 } 1583 1573 … … 1611 1601 // Add the Pull Requests section. 1612 1602 $( '#attachments' ).append( 1613 '<div id="github-prs" class="collapsed">' +1603 '<div id="github-prs">' + 1614 1604 '<h3 class="foldable"><a id="section-pr" href="#section-pr">Pull requests <span class="trac-count hidden">(<span></span>)</span></a></h3>' + 1615 1605 '<ul class="pull-requests">' +
Note: See TracChangeset
for help on using the changeset viewer.