Backport #37296 Co-authored-by: Nicolas <bircni@icloud.com>
This commit is contained in:
@@ -71,7 +71,7 @@ async function initRepoPullRequestMergeForm(box: HTMLElement) {
|
||||
view.mount(el);
|
||||
}
|
||||
|
||||
function executeScripts(elem: HTMLElement) {
|
||||
function executeScripts(elem: Element) {
|
||||
for (const oldScript of elem.querySelectorAll('script')) {
|
||||
// TODO: that's the only way to load the data for the merge form. In the future
|
||||
// we need to completely decouple the page data and embedded script
|
||||
|
||||
Reference in New Issue
Block a user