@-0/browser
Advanced tools
Comparing version 0.3.46 to 0.3.47
@@ -66,3 +66,3 @@ import { URL2obj, Err_missing_props } from "@-0/utils"; | ||
}; | ||
if (url && node && !node.document) { | ||
if (url && node) { | ||
return history.pushState(getScrollPos(), document.title, url); | ||
@@ -69,0 +69,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.3.46", | ||
"version": "0.3.47", | ||
"description": "Browser helpers for -0 state management, routing and the interaction between", | ||
@@ -8,0 +8,0 @@ "main": "./lib/index.js", |
46859