From 88b16cf7fd44cff817d8c8df8df8445437baa7eb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 21 Sep 2014 19:52:13 -0700 Subject: [PATCH] nmbug.js: Insert the dialog at the beginning of body Instead of at the end. I haven't tested this carefully, but in my vague memories it seemed to do a better job of positioning the dialog near the top of the frame. --- nmbug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmbug.js b/nmbug.js index 417ce42..daf6120 100644 --- a/nmbug.js +++ b/nmbug.js @@ -130,7 +130,7 @@ nmbug = { }; dialog.appendChild(close); - frame.document.body.appendChild(dialog); + frame.document.body.insertBefore(dialog, frame.document.body.firstChild); dialog.show(); }, -- 2.26.2