Skip to content

Commit 647a747

Browse files
authored
Copy Report Bubble Addon -- Small 'null' bugfix
1 parent 0565e76 commit 647a747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/addons/addons/copy-reporter/userscript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default async function ({ addon, console, msg }) {
4848
}
4949
};
5050

51-
if (value.length !== 0) {
51+
if (value && value.length !== 0) {
5252
const copyButton = document.createElement("img");
5353
copyButton.setAttribute("role", "button");
5454
copyButton.setAttribute("tabindex", "0");

0 commit comments

Comments
 (0)