Sha256: a8e670db56a32e5f5945655286ebd267de2e901f720c26c9e18f24ed0fc9187c

Contents?: true

Size: 256 Bytes

Versions: 5

Compression:

Stored size: 256 Bytes

Contents

$(function() {
  $(".section").each(function(i, element) {
    var $element = $(element);

    $(element).children("h2, h3, h4, h5, h6").on("click", function() {
      $(element).children(".section-data").toggleClass("display");
    });
  });
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
antelope-0.3.2 lib/antelope/generator/templates/html/js.ant
antelope-0.3.0 lib/antelope/generator/templates/html/js.ant
antelope-0.2.4 lib/antelope/generator/templates/html/js.ant
antelope-0.2.3 lib/antelope/generator/templates/html/js.ant
antelope-0.2.2 lib/antelope/generator/templates/html/js.ant