Commit 7fbe70b2 authored by Noel Gordon's avatar Noel Gordon Committed by Chromium LUCI CQ

[filesapp] Add files app SWA scripts to document.head

Bug: 1113981
Change-Id: Ia32fa995fd05fbbf8baa7e710d0d435073f7effc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2585252
Auto-Submit: Noel Gordon <noel@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#836507}
parent c998ca66
...@@ -56,7 +56,7 @@ export class ScriptLoader { ...@@ -56,7 +56,7 @@ export class ScriptLoader {
script.onload = () => resolve(this.src_); script.onload = () => resolve(this.src_);
script.onerror = (error) => reject(error); script.onerror = (error) => reject(error);
script.src = this.src_; script.src = this.src_;
document.body.append(script); document.head.append(script);
}); });
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment