mirror of https://github.com/hyperledger/besu
warning banner when using latest version (#1454)
fixes PIE-1474 add warning banner when using latest version Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>pull/2/head
parent
e536e1b8fb
commit
f8f81e57f9
@ -0,0 +1,11 @@ |
||||
$( document ).ready(function() { |
||||
displayLatestWarning(); |
||||
}); |
||||
|
||||
$(window).on('hashchange', function(){ |
||||
displayLatestWarning(); |
||||
}); |
||||
|
||||
function displayLatestWarning(){ |
||||
$( ".latest-warning" ).css( "display", $(location).attr('href').includes(latestWarningTrigger)?"inherit":"none" ); |
||||
} |
Loading…
Reference in new issue