Sha256: 3a0fa847ae1c62a2c3a77bd60db28dd5349ec17a76b2689e498dc4c46000f449

Contents?: true

Size: 414 Bytes

Versions: 27

Compression:

Stored size: 414 Bytes

Contents

$(document).ready(function(){

    $('.button-submenu').on('click', function(event){
        if(event.target === this){
            $(event.target).parent().parent().toggleClass('open');
            $(event.target).toggleClass('open');
        }
    });

    $('#menuToggle').on('click', function(event){
        $('.menu').toggleClass('open');
        $(event.target).toggleClass('open');
    });
});

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
jekyll-theme-simplex-v2-0.9.8.16 assets/js/tools.js
jekyll-theme-simplex-v2-0.9.8.15 assets/js/tools.js
jekyll-theme-simplex-0.9.8.15 assets/js/tools.js
jekyll-theme-simplex-0.9.8.14 assets/js/tools.js
jekyll-theme-simplex-0.9.8.13 assets/js/tools.js
jekyll-theme-simplex-0.9.8.12 assets/js/tools.js
jekyll-theme-simplex-0.9.8.11 assets/js/tools.js
jekyll-theme-simplex-0.9.8.10 assets/js/tools.js
jekyll-theme-simplex-0.9.8.9 assets/js/tools.js
jekyll-theme-simplex-0.9.8.8 assets/js/tools.js
jekyll-theme-simplex-0.9.8.7 assets/js/tools.js
jekyll-theme-simplex-0.9.8.6 assets/js/tools.js
jekyll-theme-simplex-0.9.8.5 assets/js/tools.js
jekyll-theme-simplex-0.9.8.4 assets/js/tools.js
jekyll-theme-simplex-0.9.8.3 assets/js/tools.js
jekyll-theme-simplex-0.9.8.2 assets/js/tools.js
jekyll-theme-simplex-0.9.8.1 assets/js/tools.js
jekyll-theme-simplex-0.9.8 assets/js/tools.js
jekyll-theme-simplex-0.9.7 assets/js/tools.js
jekyll-theme-simplex-0.9.6 assets/js/tools.js