Sha256: f2938cdbd3299dea5f06d58a5d24423d9d0920ac3652f0ec4a16e7febcda65ba

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

$(document).ready(function() {
  var spacers = document.querySelectorAll("[class^='vspacer']");

  for (var x = 0; x < spacers.length; x++ ){
    var spacer_height = spacers[x].className.split('-')[1];
    spacers[x].style.height = spacer_height + "px";
  }
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spacers_and_dividers-1.0.7 app/assets/javascripts/spacer.js