Skip to content

Commit 1ee2a25

Browse files
committed
Trigger the recalculating event on null when the binding does not exist
1 parent 838e132 commit 1ee2a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srcjs/shinyapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ var ShinyApp = function() {
510510
addCustomMessageHandler('recalculating', function(message) {
511511
if (message.hasOwnProperty('name') && message.hasOwnProperty('status')) {
512512
var binding = this.$bindings[name];
513-
$(binding ? binding.el : document).trigger({
513+
$(binding ? binding.el : null).trigger({
514514
type: 'shiny:' + message.status
515515
});
516516
}

0 commit comments

Comments
 (0)