misc cleanup + notes

This commit is contained in:
abuoyoyo 2022-07-16 16:41:45 +03:00
parent 1d343e7dee
commit 770b2cc43d
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ var NoticeManager = (function ($, document) {
let button; let button;
let panel; let panel;
let haveClosed; let haveClosed; // set to true on first close/collect
let dismissNoticesButton; let dismissNoticesButton;
// bootstrap // bootstrap

View File

@ -25,7 +25,7 @@ class NoticeManager{
if ( !is_admin() ) if ( !is_admin() )
return; return;
$this->options = get_option( 'notice_manager'); $this->options = get_option( 'notice_manager' );
add_action( 'admin_enqueue_scripts' , [ $this , 'admin_enqueues' ] ); add_action( 'admin_enqueue_scripts' , [ $this , 'admin_enqueues' ] );