diff --git a/assets/seo/seo.css b/assets/seo/seo.css
index 3943717..41cb001 100644
--- a/assets/seo/seo.css
+++ b/assets/seo/seo.css
@@ -21,7 +21,6 @@
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
- border-top: 4px solid\9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
diff --git a/assets/seo/seo.js b/assets/seo/seo.js
index 05a999e..7e9c5a4 100644
--- a/assets/seo/seo.js
+++ b/assets/seo/seo.js
@@ -101,8 +101,7 @@ class SeoSnippet {
}
}
-
-window.addEventListener("DOMContentLoaded", (event) => {
+document.addEventListener("DOMContentLoaded", (event) => {
const seoSnippet = document.querySelector('.seo_snippet');
if (seoSnippet) {
new SeoSnippet(seoSnippet);
diff --git a/composer.json b/composer.json
index 4371bb3..ae65cc0 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
{
"name": "appolodev/bolt-seo",
- "description": "Bolt 4 / 5 - Seo extension",
+ "description": "Bolt 5 - Seo extension",
"type": "bolt-extension",
"license": "MIT",
"authors": [
@@ -11,10 +11,10 @@
],
"require": {
"php": ">=7.1.3",
- "twig/twig": "^2.12 | ^3.0"
+ "twig/twig": "^3.0"
},
"require-dev": {
- "bolt/core": "^4.0.0",
+ "bolt/core": "^5.1",
"symplify/easy-coding-standard": "^8.1",
"phpstan/phpstan": "^0.12.32",
"phpstan/phpstan-symfony": "^0.12.6",
diff --git a/templates/injector.html.twig b/templates/injector.html.twig
index 445f138..04e8d80 100644
--- a/templates/injector.html.twig
+++ b/templates/injector.html.twig
@@ -1,4 +1,2 @@
-
-{# {% set config = geolocation_settings() | geolocation_decode_json %} #}