Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13c7ef commit 595dce6Copy full SHA for 595dce6
src/lib/plotcss_utils.js
@@ -16,7 +16,7 @@ var plotcss = require('../../build/plotcss');
16
exports.injectStyles = function injectStyles(gd) {
17
18
// If the graph div has already been styled, bail
19
- if(gd._plotCSSLoaded) return;
+ if(gd._document._plotCSSLoaded) return;
20
21
var targetStyleSheet = null;
22
@@ -45,7 +45,7 @@ exports.injectStyles = function injectStyles(gd) {
45
else loggers.warn('injectStyles failed');
46
}
47
48
- gd._plotCSSLoaded = true;
+ gd._document._plotCSSLoaded = true;
49
};
50
51
// expands a plotcss selector
0 commit comments