Skip to content

Commit

Permalink
add explanation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bborgesr committed Jan 25, 2017
1 parent 5581248 commit 40b7dab
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions inst/www/shared/shiny.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inst/www/shared/shiny.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/www/shared/shiny.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/www/shared/shiny.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions srcjs/shinyapp.js
Expand Up @@ -729,6 +729,8 @@ var ShinyApp = function() {
// any hash now (e.g. for when only the query string is updated)
if (window.location.hash !== oldHash) what = "hash";

// This event needs to be triggered manually because pushState() never
// causes a hashchange event to be fired,
if (what === "hash") $(document).trigger("hashchange");
});

Expand Down

0 comments on commit 40b7dab

Please sign in to comment.