Skip to content

Commit 1ba94d5

Browse files
prevent hanging of charts
1 parent 34ef8f5 commit 1ba94d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/render-facade.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@
8787
// fixed as part of the issue to add annotations.
8888
if(visualizer.page_type === 'library'){
8989
if(localStorage.getItem( 'viz-facade-loaded' ) === '1'){
90+
// prevent library from hanging.
91+
setTimeout( function(){
92+
localStorage.removeItem( 'viz-facade-loaded' );
93+
}, 2000);
9094
return;
9195
}
9296
localStorage.setItem( 'viz-facade-loaded', '1');

0 commit comments

Comments
 (0)