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 b5c2ee8 commit d007bf7Copy full SHA for d007bf7
js/render-google.js
@@ -428,12 +428,14 @@ var __visualizer_chart_images = [];
428
}, 500 );
429
}
430
431
- $( window ).on( 'orientationchange', function( event ) {
432
- $( '.visualizer-chart-loaded' ).removeClass( 'visualizer-chart-loaded' );
433
- } );
+ window.onorientationchange = function() {
+ jQuery( '.visualizer-chart-loaded' ).removeClass( 'visualizer-chart-loaded' );
+ resizeHiddenContainers(true);
434
+ }
435
});
436
437
$(window).on('load', function(){
438
439
resizeHiddenContainers(true);
440
441
0 commit comments