app/assets/javascripts/application/banner.js
// don't show the banner again.
don't show the banner again.
don ' t show the banner again .
function displayBanner() {
    var subdomain = $("body")[0].classList[0]
    var bannerStatus = Cookies.get(subdomain + '_shared_press_banner');
    if (( bannerStatus == 'ignore') || (bannerStatus == 'clicked')) {
        $("div.banner").hide();
    } else {
        $("div.banner").show();
    }
}
function displayBanner ( ) { var subdomain = $ ( "body" ) [ 0 ] . classList [ 0 ] var bannerStatus = Cookies . get ( subdomain + '_shared_press_banner' ) ; if ( ( bannerStatus == 'ignore' ) || ( bannerStatus == 'clicked' ) ) { $ ( "div.banner" ) . hide ( ) ; } else { $ ( "div.banner" ) . show ( ) ; } }
don't show the banner again.
don ' t show the banner again .