Skip to content

Commit dfbe94c

Browse files
Merge pull request #371 from contactashish13/issue-370
Google charts do not display with jquery 3.3.x
2 parents 07fb4a9 + 943542f commit dfbe94c

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

css/frame.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,4 +1328,9 @@ span.viz-section-error {
13281328

13291329
#vz-chart-docs a {
13301330
text-decoration: none;
1331+
}
1332+
1333+
/* datatables */
1334+
.dt-button {
1335+
display: none !important;
13311336
}

css/library.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,9 @@ button.media-modal-close {
299299
.dataTables_wrapper {
300300
height: 300px;
301301
overflow: hidden !important;
302+
}
303+
304+
/* datatables */
305+
.dt-button {
306+
display: none !important;
302307
}

js/frame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/* global CodeMirror */
66

77
(function ($) {
8-
$(window).load(function(){
8+
$(window).on('load', function(){
99
// scroll to the selected chart type.
1010
if($('label.type-label.type-label-selected').length > 0) {
1111
$('label.type-label.type-label-selected')[0].scrollIntoView();

js/render-google.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var __visualizer_chart_images = [];
294294
resizeHiddenContainers(true);
295295
});
296296

297-
$(window).load(function(){
297+
$(window).on('load', function(){
298298
resizeHiddenContainers(true);
299299
});
300300

0 commit comments

Comments
 (0)