Skip to content

Commit

Permalink
Merge branch 'master' into testing_name_sort_order
Browse files Browse the repository at this point in the history
* master:
  Update NEWS
  Use esbuild option preserveSymlinks
  Fix regression in repeated appendTab()s when navbarMenu() is present (#3518)
  • Loading branch information
schloerke committed Oct 1, 2021
2 parents 5ebd6e4 + c6ae4c0 commit eaebded
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ shiny 1.7.0.9000

## Bug Fixes

* Re-arrange conditions for testthat 1.0.0 compatibility (#3512)
* Closed #3516: Fix regression in repeated calls to `appendTab()` when `navbarMenu()` is already present within a `tabsetPanel()`/`navbarPage()`. (#3518)

* Re-arranged conditions for testthat 1.0.0 compatibility. (#3512)


shiny 1.7.0
Expand Down
4 changes: 2 additions & 2 deletions inst/www/shared/shiny.js

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

4 changes: 2 additions & 2 deletions 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.

4 changes: 2 additions & 2 deletions inst/www/shared/shiny.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions srcts/build/_build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ async function build(
incremental: incremental,
watch: watch,
target: "es5",
preserveSymlinks: true,
...opts,
}).then((x) => {
onRebuild();
Expand Down
4 changes: 2 additions & 2 deletions srcts/src/shiny/shinyapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,8 @@ class ShinyApp {
// loop through all existing tabs, find the one with highest id
// (since this is based on a numeric counter), and increment

$tabset.find("a[data-toggle='tab']").each(function () {
const $tab = $(this);
$tabset.find("> li").each(function () {
const $tab = $(this).find("> a[data-toggle='tab']");

if ($tab.length > 0) {
// remove leading url if it exists. (copy of bootstrap url stripper)
Expand Down

0 comments on commit eaebded

Please sign in to comment.