File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 81
81
}
82
82
83
83
$ ( document ) . ready ( function ( ) {
84
- // facade loads twice in the library, so all charts are also loaded twice
85
- // this will ensure that even if it loaded twice, it initializes all charts only once.
84
+ // facade loads N times in the library (where N = the number of different chart libraries supported)
85
+ // so all charts are also loaded N times
86
+ // this will ensure that no matter how many times facade is loaded, it initializes all charts only once.
86
87
// fixed as part of the issue to add annotations.
87
88
if ( visualizer . page_type === 'library' ) {
88
89
if ( localStorage . getItem ( 'viz-facade-loaded' ) === '1' ) {
89
- localStorage . removeItem ( 'viz-facade-loaded' ) ;
90
90
return ;
91
91
}
92
92
localStorage . setItem ( 'viz-facade-loaded' , '1' ) ;
You can’t perform that action at this time.
0 commit comments