misc cleanup + notes
This commit is contained in:
parent
1d343e7dee
commit
770b2cc43d
@ -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
|
||||||
|
|||||||
@ -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' ] );
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user