Skip to content

Commit 1074804

Browse files
committedFeb 7, 2018
_skipSD -> _skipDefaults
1 parent e58b74d commit 1074804

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/plot_api/plot_api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ Plotly.react = function(gd, data, layout, config) {
22782278
}
22792279

22802280
if(restyleFlags.fullReplot || relayoutFlags.layoutReplot || configChanged) {
2281-
gd._fullLayout._skipSD = true;
2281+
gd._fullLayout._skipDefaults = true;
22822282
seq.push(Plotly.plot);
22832283
}
22842284
else {

‎src/plots/plots.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ var extraFormatKeys = [
283283
plots.supplyDefaults = function(gd) {
284284
var oldFullLayout = gd._fullLayout || {};
285285

286-
if(oldFullLayout._skipSD) {
287-
delete oldFullLayout._skipSD;
286+
if(oldFullLayout._skipDefaults) {
287+
delete oldFullLayout._skipDefaults;
288288
return;
289289
}
290290

0 commit comments

Comments
 (0)