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.child |
|
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