mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-58445] Try deferring plugins scripts loading (#27179)
This commit is contained in:
parent
f3e760008c
commit
e2abac5486
@ -153,6 +153,7 @@ export function loadPlugin(manifest) {
|
||||
script.id = 'plugin_' + manifest.id;
|
||||
script.type = 'text/javascript';
|
||||
script.src = getSiteURL() + bundlePath;
|
||||
script.defer = true;
|
||||
script.onload = onLoad;
|
||||
script.onerror = onError;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user