A question about executeScripts
stevenjoezhang opened this issue · 0 comments
stevenjoezhang commented
Lines 208 to 213 in c26c223
Lines 10 to 17 in c26c223
After script.parentNode.removeChild(script);
is executed, script.parentNode
will be null
Lines 4 to 5 in c26c223
This means that the return value of the short-circuit evaluation here is document.querySelector("head")
In other words, all the scripts that are refreshed by pjax will be placed in the <head>
. Is this expected behavior?