Skip to content

Commit

Permalink
Merge pull request #16 from Packet-Clearing-House/dev-7
Browse files Browse the repository at this point in the history
#7 fix ie11 remove filter call
  • Loading branch information
Ths2-9Y-LqJt6 authored Jun 22, 2016
2 parents 4cde030 + 3bba12c commit acf0424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class Filters {

remove(filterName) {
const rowNode = document.querySelector(`[data-mt-filter-name="${filterName}"]`);
if (rowNode) rowNode.remove();
if (rowNode) rowNode.parentNode.removeChild(rowNode);
const filterIndex = this.criteria.indexOf(filterName);
this.criteria.splice(filterIndex, 1);
this.maptable.render();
Expand Down

0 comments on commit acf0424

Please sign in to comment.