diff --git a/build/clippy.js b/build/clippy.js index a787621..93a9329 100644 --- a/build/clippy.js +++ b/build/clippy.js @@ -938,7 +938,8 @@ clippy.load._loadScript = function (src) { script.setAttribute('async', 'async'); script.setAttribute('type', 'text/javascript'); - document.head.appendChild(script); + var dochead = document.head || document.getElementsByTagName('head')[0]; + dochead.appendChild(script); }; clippy.load._getAgentDfd = function (name) {