浏览代码

Dont append the filter-control stuff, overwrite it to prevent duplicated (#5943)

elements

Co-authored-by: Dennis Hernández <dennishernandezvargas@gmail.com>
Dustin Utecht 4 年之前
父节点
当前提交
907f289819
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extensions/filter-control/utils.js

+ 1 - 1
src/extensions/filter-control/utils.js

@@ -355,7 +355,7 @@ export function createControls (that, header) {
 
       if ($th.data('field') === column.field) {
         $th.find('.filter-control').remove()
-        $th.find('.fht-cell').append(html.join(''))
+        $th.find('.fht-cell').html(html.join(''))
         return false
       }
     })