Skip to content

Commit

Permalink
馃悰 Don't load script async, always defer
Browse files Browse the repository at this point in the history
Deferred scripts are executed once the html body is parsed. This is what
we always want
  • Loading branch information
micgro42 committed Jan 26, 2020
1 parent 14fb3a9 commit 00d105d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion action/addScriptTag.php
Expand Up @@ -33,7 +33,6 @@ public function addInstantPageScriptTag(Doku_Event $event)
'type' => 'module',
'src' => DOKU_BASE . 'lib/plugins/instantpage/lib/3.0.0.js',
'integrity' => 'sha384-OeDn4XE77tdHo8pGtE1apMPmAipjoxUQ++eeJa6EtJCfHlvijigWiJpD7VDPWXV1',
'async' => true,
'defer' => true,
];
}
Expand Down

0 comments on commit 00d105d

Please sign in to comment.