Hide “whats-new-options” block when activity page is loading (fix 2)

Hi @naveengiri @pranalipatel …I hope you can help me again :slight_smile: I’ve used the solution of the post below (now closed): https://mail.google.com/mail/u/0/#search/rtmedia-uploader-div/15843cc7d1408d84

but now I’ve seen that this solution has a little problem: the #whats-new-options opacity is set to 1 with the javascript, but the .rtmedia-uploader-div block remain with opacity: 0; display: none; visibility: hidden; this means that the loading images (below the what’s new box, after the image selection, before posting: class=“rtmedia-container rtmedia-uploader-div”) are not shown (seems like no image is loading) Can help me please??

Thanks! Ositive

Hello @Ositive,

Could you please try replacing the previous script with the new one below?

Old script:

<script>
jQuery( window ).on( 'load', function() { 
jQuery( '#whats-new-options' ).css({ 'opacity': '1' });
} );
</script>

New script:

<script>
        jQuery( window ).on( 'load', function() {
            jQuery( '#whats-new-options' ).css({
                'opacity': '1'
            });
            jQuery( '.rtmedia-uploader-div' ).css({
                'opacity': '1',
                'visibility': 'visible',
                'display': 'block'
            });
        } );
</script>

Let us know if this works for you. Thanks.

Yes! It works! Thanks Ositive

You are welcome @Ositive,

I am closing this thread for now. Feel free to create new if you have any doubts.

Thanks.