diff --git a/Bootstrap.Admin/wwwroot/js/longbow.common.js b/Bootstrap.Admin/wwwroot/js/longbow.common.js index 81db3f90..68958218 100644 --- a/Bootstrap.Admin/wwwroot/js/longbow.common.js +++ b/Bootstrap.Admin/wwwroot/js/longbow.common.js @@ -361,6 +361,9 @@ $('[data-toggle="popover"]').popover(); $('[data-toggle="lgbinfo"]').lgbInfo(); $('.date').lgbDatePicker(); + + // fix bug bootstrap-table 1.12.1 showToggle + $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggle = $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggleOff; }); // Roles diff --git a/Bootstrap.Client/wwwroot/js/longbow.common.js b/Bootstrap.Client/wwwroot/js/longbow.common.js index 2a029144..e3c647bc 100644 --- a/Bootstrap.Client/wwwroot/js/longbow.common.js +++ b/Bootstrap.Client/wwwroot/js/longbow.common.js @@ -422,5 +422,8 @@ $('[data-toggle="popover"]').popover(); $('[data-toggle="lgbinfo"]').lgbInfo(); $('.date').lgbDatePicker(); + + // fix bug bootstrap-table 1.12.1 showToggle + $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggle = $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggleOff; }); })(jQuery); \ No newline at end of file