IE doesn't support JS default parameters (#13203)

This commit is contained in:
Tony Murray
2021-09-08 08:02:49 -05:00
committed by GitHub
parent 232b9a414c
commit b55316c512

View File

@@ -609,7 +609,7 @@
return false;
}
function widget_reload(id, data_type, forceDomInject = false) {
function widget_reload(id, data_type, forceDomInject) {
const $widget_body = $(`#widget_body_${id}`);
const $widget_bootgrid = $(`#widget_body_${id} .bootgrid-table`);
const settings = $widget_body.parent().data('settings') == 1 ? 1 : 0;