Skip to content

Commit c210297

Browse files
committed
Administration: Treat contextual help tab links as selectors.
Merges r64133 to 7.1 branch. Props jonsurrell, marcs0h, rfaile313. git-svn-id: https://develop.svn.wordpress.org/branches/7.1@64140 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0a50de3 commit c210297

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/js/_enqueues/admin/common.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ $('.contextual-help-tabs').on( 'click', 'a', function(e) {
695695
$('.contextual-help-tabs .active').removeClass('active');
696696
link.parent('li').addClass('active');
697697

698-
panel = $( link.attr('href') );
698+
panel = $( document ).find( link.attr('href') );
699699

700700
// Panels.
701701
$('.help-tab-content').not( panel ).removeClass('active').hide();

0 commit comments

Comments
 (0)