mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-22 22:34:29 +02:00
Update README.ja.md
This commit is contained in:
@@ -212,7 +212,7 @@ JavaScript、特に [`history.pushState`](https://developer.mozilla.org/ja/docs/
|
||||
|
||||
```js
|
||||
function navigate(path) {
|
||||
window.history.pushState({}, path, window.location.origin + path);
|
||||
window.history.pushState({}, path, path);
|
||||
updateRoute();
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user