Fix notices-panel removing all screen-meta-links panels when removing self
This commit is contained in:
parent
ff4a8f542b
commit
03473b957c
@ -247,9 +247,10 @@ var NoticeManager = (function ($, document) {
|
||||
$("#meta-link-notices-link-wrap").detach()
|
||||
$("#meta-link-notices-wrap").detach()
|
||||
|
||||
if (!$("#screen-meta-links").children().length)
|
||||
if ($("#screen-meta-links").children().length == 0){
|
||||
$("#screen-meta-links").detach()
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user