Skip to content

Commit b25bc4b

Browse files
committed
Remove condition
1 parent cccc65e commit b25bc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/htmlwidgets/plotly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ HTMLWidgets.widget({
77
},
88

99
resize: function(el, width, height, instance) {
10-
if (instance.autosize && el.isConnected) {
10+
if (instance.autosize) {
1111
var width = instance.width || width;
1212
var height = instance.height || height;
1313
Plotly.relayout(el, {width: width, height: height});

0 commit comments

Comments
 (0)