mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
[PMkit] Fix Empty string passed to getElementById() warning in buttons.js
This commit is contained in:
parent
127b2c99dc
commit
85a31335e2
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ function insertButton(aWindow, id, onBuild) {
|
|||
let toolbar = toolbarId != "" && doc.getElementById(toolbarId);
|
||||
|
||||
if (toolbar) {
|
||||
let nextItem = doc.getElementById(nextItemId);
|
||||
let nextItem = nextItemId != "" && doc.getElementById(nextItemId);
|
||||
// If nextItem not in toolbar then retrieve it by reading currentset attribute
|
||||
if (!(nextItem && nextItem.parentNode && nextItem.parentNode.id == toolbarId)) {
|
||||
nextItem = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue