... | ... |
@@ -89,7 +89,7 @@ class LegalAgeCheck extends \Frontend |
89 | 89 |
//$objTemplate->modalBoxTemplate = addcslashes($objModalBoxTemplate->parse(), "\\'\"&\n\r"); |
90 | 90 |
|
91 | 91 |
// Add dialog code to page |
92 |
- $GLOBALS['TL_JQUERY'][] = $objTemplate->parse(); |
|
92 |
+ $GLOBALS['TL_BODY'][] = $objTemplate->parse(); |
|
93 | 93 |
|
94 | 94 |
|
95 | 95 |
} |