Fix condition for calling exports.unbindAll(). (Correction to #1449)

This commit is contained in:
Winston Chang
2017-06-08 16:54:22 -07:00
parent c0fbd9cb3c
commit fb99db011c
2 changed files with 2 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ shiny 1.0.3.9000
* Fixed [#1710](https://github.com/rstudio/shiny/issues/1710): `ReactiveVal` objects did not have separate dependents. ([#1712](https://github.com/rstudio/shiny/pull/1712))
* Fixed [#1438](https://github.com/rstudio/shiny/issues/1438): `unbindAll()` should not be called when inserting content with `insertUI()`. A previous fix ([#1449](https://github.com/rstudio/shiny/pull/1449)) did not work correctly. ([#1736](https://github.com/rstudio/shiny/pull/1736))
### Library updates

View File

@@ -29,8 +29,6 @@ exports.renderContent = function(el, content, where="replace") {
exports.unbindAll(el);
}
exports.unbindAll(el);
var html;
var dependencies = [];
if (content === null) {