Current Path : /storage/v11800/andslite-new/public_html/wp-content/plugins/jetpack/_inc/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/andslite-new/public_html/wp-content/plugins/jetpack/_inc/deprecate.js |
addEventListener( 'DOMContentLoaded', () => {
const notices = document.getElementsByClassName( 'jetpack-deprecate-dismissible' );
for ( let i = 0; i < notices.length; ++i ) {
if ( ! notices[ i ].hasAttribute( 'id' ) ) {
continue;
}
notices[ i ].addEventListener( 'click', event => {
if ( event.target.classList.contains( 'notice-dismiss' ) ) {
document.cookie =
'jetpack_deprecate_dismissed[' +
notices[ i ].getAttribute( 'id' ) +
']=1; expires=Fri, 31 Dec 9999 23:59:59 GMT; SameSite=None;';
}
} );
}
} );