6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Backbone.jsで同じURLにnavigateで移動する

6
Posted at

実装上、fragmentと現在のURLが同じだと無視されてしまうので、強制的に書き換えてしまえば通る。

Backbone.history.fragment = '';
Backbone.history.navigate(location.pathname + location.search, true);
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?