summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/admin/plugin-install.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/_enqueues/admin/plugin-install.js')
-rw-r--r--src/js/_enqueues/admin/plugin-install.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/js/_enqueues/admin/plugin-install.js b/src/js/_enqueues/admin/plugin-install.js
index b6cd1d74e4..f9c2be395d 100644
--- a/src/js/_enqueues/admin/plugin-install.js
+++ b/src/js/_enqueues/admin/plugin-install.js
@@ -183,11 +183,12 @@ jQuery( document ).ready( function( $ ) {
var tab = $( this ).attr( 'name' );
event.preventDefault();
- // Flip the tab
+ // Flip the tab.
$( '#plugin-information-tabs a.current' ).removeClass( 'current' );
$( this ).addClass( 'current' );
- // Only show the fyi box in the description section, on smaller screen, where it's otherwise always displayed at the top.
+ // Only show the fyi box in the description section, on smaller screen,
+ // where it's otherwise always displayed at the top.
if ( 'description' !== tab && $( window ).width() < 772 ) {
$( '#plugin-information-content' ).find( '.fyi' ).hide();
} else {