mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 20:32:25 +01:00
Add dactylIUtils.createContents. Closes issue #581.
This commit is contained in:
@@ -143,6 +143,8 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
}
|
||||
|
||||
function addChildren(node, parent) {
|
||||
DOM(node).createContents();
|
||||
|
||||
if (~["menu", "menupopup"].indexOf(node.localName) && node.children.length)
|
||||
dispatch(node, "popupshowing");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user