Skip to content

Commit

Permalink
Fix bug on IE
Browse files Browse the repository at this point in the history
Where textNode does not have the remove method
  • Loading branch information
nitriques committed Feb 24, 2015
1 parent ee14b5a commit bcffd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/publish.ajax_checkbox.js
Expand Up @@ -90,7 +90,7 @@
var data = this.data ? this.data.replace(/\s/gim,'') : '';
if (data.length) { //nodeType text
currentValue = data;
this.remove();
$(this).remove();
}
});

Expand Down

0 comments on commit bcffd63

Please sign in to comment.