Skip to content

Commit ce19f9d

Browse files
JustinCCYapchschan
authored andcommitted
Remove condition
1 parent c1826e2 commit ce19f9d

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
@@ -8,7 +8,7 @@ HTMLWidgets.widget({
88
},
99

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

0 commit comments

Comments
 (0)