plugin index.html
This commit is contained in:
@@ -32,7 +32,11 @@ function highlightPath () {
|
||||
|
||||
function highlightSubPath ( sliceStart ) {
|
||||
if ( $( location ).attr( 'pathname' ).slice( sliceStart, parseInt( location.pathname.length ) - 5 ) === '' ) {
|
||||
$( '#root' ).animate( { 'background-color': 'rgb(43, 43, 43)' }, 200 );
|
||||
if ( $(location).attr( 'pathname' ).slice( 6, 13 ) === 'plugins' ) {
|
||||
$( '#plugins-home' ).animate( { 'background-color': 'rgb(43, 43, 43)' }, 200 );
|
||||
} else {
|
||||
$( '#root' ).animate( { 'background-color': 'rgb(43, 43, 43)' }, 200 );
|
||||
}
|
||||
bannedIDs.push( 'root' );
|
||||
} else {
|
||||
$( `#${location.pathname.slice( sliceStart, parseInt( location.pathname.length ) - 5 )}` ).animate( { 'background-color': 'rgb(43, 43, 43)' }, 200 );
|
||||
|
||||
Reference in New Issue
Block a user