Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Remove complete parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviomuniz committed Jun 25, 2016
1 parent 38c6b70 commit 50510dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/assets/javascripts/locastyle/_char-counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ locastyle.charCounter = (function() {

function countText() {
$('[data-ls-module="charCounter"]').each(function(index, field) {
$('.ls-number-counter-' + index).parent().remove();
$('.ls-number-counter-' + index).parents('.ls-help-inline').remove();

var limit = $(field).attr('maxlength');
var html = '<p class="ls-help-inline"><small><strong ' +
Expand Down

0 comments on commit 50510dc

Please sign in to comment.