projects
/
nmhive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86f9e9
)
nmbug.js: Insert the dialog at the beginning of body
author
W. Trevor King
<wking@tremily.us>
Mon, 22 Sep 2014 02:52:13 +0000
(19:52 -0700)
committer
W. Trevor King
<wking@tremily.us>
Mon, 22 Sep 2014 14:08:51 +0000
(07:08 -0700)
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
patch
|
blob
|
history
diff --git
a/nmbug.js
b/nmbug.js
index 417ce4200c95df553bb8799a98deb7c84d33a269..daf61205b28c090ef302e22810a124a39fedc3b3 100644
(file)
--- 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();
},