Skip to content

Commit

Permalink
Try without jquery.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Aug 19, 2014
1 parent 74540e3 commit cac81ed
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions data/trello-counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

$(document).ready(function() {
$(".list-header-num-cards").each(function(index, element) {
$(element).removeClass("hide");
});
});
var list = document.getElementsByClassName("list-header-num-cards");
for (var i = 0; i < list.length; i++) {
list[i].classList.remove("hide");
}

0 comments on commit cac81ed

Please sign in to comment.