chore: update WRNexusJS packages to 0.2.13
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
/* global window, document */
|
||||
|
||||
// Re-bind theme controls after WRNexusJS swaps the page during client navigation.
|
||||
// bind() is idempotent, so this is safe alongside newer framework runtimes.
|
||||
window.addEventListener("wrnexus:navigated", function () {
|
||||
if (window.wireTheme && typeof window.wireTheme.bind === "function") {
|
||||
window.wireTheme.bind(document);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user