kopia lustrzana https://github.com/c9/core
code style
rodzic
db7bb6e12c
commit
5d13b80c2e
|
@ -960,8 +960,10 @@ apf.menu = function(struct, tagName){
|
|||
if (!amlNode.$amlLoaded)
|
||||
amlNode.dispatchEvent("DOMNodeInsertedIntoDocument");
|
||||
// sometimes DOMNodeInsertedIntoDocument event handler puts $ext at the end of the popup
|
||||
if (amlNode.previousSibling && amlNode.previousSibling.$ext && amlNode.$ext)
|
||||
if (amlNode.$ext.previousSibling != amlNode.previousSibling.$ext)
|
||||
if (!amlNode.previousSibling || !amlNode.previousSibling.$ext || amlNode.$ext)
|
||||
continue;
|
||||
if (amlNode.$ext.previousSibling == amlNode.previousSibling.$ext)
|
||||
continue;
|
||||
if (amlNode.$ext.parentNode == amlNode.previousSibling.$ext.parentNode)
|
||||
amlNode.$ext.parentNode.insertBefore(amlNode.$ext, amlNode.previousSibling.$ext.nextSibling);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue