Skip to content

Commit c336dae

Browse files
author
Alessandro Burato
committed
un-linted
1 parent fdb0a2a commit c336dae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plots/plots.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,14 @@ plots.redrawText = function(gd) {
232232
};
233233

234234
// resize plot about the container size
235-
plots.resize = function (gd) {
235+
plots.resize = function(gd) {
236236
if (!gd || d3.select(gd).style('display') === 'none') return;
237237

238-
return new Promise(function (resolve) {
239-
238+
return new Promise(function(resolve) {
239+
240240
if (gd._redrawTimer) clearTimeout(gd._redrawTimer);
241241

242-
gd._redrawTimer = setTimeout(function () {
242+
gd._redrawTimer = setTimeout(function() {
243243
if ((gd._fullLayout || {}).autosize) {
244244
// autosizing doesn't count as a change that needs saving
245245
var oldchanged = gd.changed;

0 commit comments

Comments
 (0)