Skip to content

Commit 9708293

Browse files
committed
Don't remove callback from el on unsubscribe
1 parent 2754e15 commit 9708293

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

srcjs/input.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ export function reactShinyInput(selector,
100100
this.render(el);
101101
}
102102
unsubscribe(el, callback) {
103-
$(el).removeData('callback');
104103
ReactDOM.render(null, el);
105104
}
106105
receiveMessage(el, data) {

0 commit comments

Comments
 (0)