##// END OF EJS Templates
hgweb: insert followlines buttons before any children, including text nodes...
av6 -
r37509:685ad41f default
parent child Browse files
Show More
@@ -76,7 +76,7 b" document.addEventListener('DOMContentLoa"
76 if ( childSupportElms.length > 0 ) {
76 if ( childSupportElms.length > 0 ) {
77 btnSupportElm = childSupportElms[0];
77 btnSupportElm = childSupportElms[0];
78 }
78 }
79 var refNode = btnSupportElm.children[0]; // node to insert <button> before
79 var refNode = btnSupportElm.childNodes[0]; // node to insert <button> before
80 btnSupportElm.insertBefore(btn, refNode);
80 btnSupportElm.insertBefore(btn, refNode);
81 }
81 }
82
82
General Comments 0
You need to be logged in to leave comments. Login now