diff --git a/src/quixe/gi_load.js b/src/quixe/gi_load.js index d42683c..ee9a1dc 100644 --- a/src/quixe/gi_load.js +++ b/src/quixe/gi_load.js @@ -347,17 +347,14 @@ function load_run(optobj, image, imageoptions) { window.processBase64Zcode = function(val) { start_game(decode_base64(val)); }; - var headls = $('head'); + var headls = document.getElementsByTagName('head'); if (!headls.length) { all_options.io.fatal_error("This page has no
element!"); return; } var script = $('