ソースを参照

Merge branch 'develop' into fix/6012

Dustin Utecht 4 年 前
コミット
fc2e030749

+ 1 - 1
src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

@@ -473,7 +473,7 @@ const showSortModal = that => {
           $($alert).remove()
         }
 
-        if ($.inArray($.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
+        if (['bootstrap3', 'bootstrap4', 'bootstrap5'].includes($.fn.bootstrapTable.theme)) {
           that.$sortModal.modal('hide')
         }