Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////
  2. // cards/elementos com a mesma altura
  3. var heights = $(".CLASSEDOELEMENTO").map(function() {
  4. return $(this).height();
  5. }).get(),
  6. maxHeight = Math.max.apply(null, heights);
  7. $(".CLASSEDOELEMENTO").height(maxHeight);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement