You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may try to use more specific selectors like meta[name=foo] or with exclusion like meta:not([name=bar]), or custom switches described in #429 (comment) . Would these be able to solve your issue?
Wouldn't work since i don't have head as a selector, when it is the automatic script execution causes issues . one example is when a script tag is added by another script after the dom switch but before preparePage the it's executed twice which causes all kind of issue. i'm handling all the scripts execution myself with hooks, far more flexible.
I still think that since meta are unique tags they should be handled differently (as i stated at the discussion)
one example is when a script tag is added by another script after the dom switch but before preparePage the it's executed twice which causes all kind of issue.
Are you adding script tags in the switchesResult hook? What exact scenario is this for? Most of the time these operations should be done
in a pjax:success/pjax:complete event callback.
Describe the bug
Please look at the following:
#429
To reproduce
No response
Expected behavior
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: