Skip to content

Commit 6a7dafa

Browse files
authored
use async for script tag
1 parent 480527c commit 6a7dafa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

styla.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function getMagazineMetaTags() {
6868
public function getLPMetaTags() {
6969
return join([
7070
"<link rel=\"preconnect\" href=\"https://engine.styla.com\">",
71-
"<script src=\"", self::$prophetUrl, "\"></script>"
71+
"<script src=\"", self::$prophetUrl, "\" async></script>"
7272
]);
7373
}
7474

@@ -266,4 +266,4 @@ private function buildContentKey() {
266266
private function init() {
267267
$this->buildContentKey();
268268
}
269-
}
269+
}

0 commit comments

Comments
 (0)