Sha256: ee8fa203ede68c72a60a4df177f322076798174f4fcd825843ae132958cd014a
Contents?: true
Size: 549 Bytes
Versions: 8
Compression:
Stored size: 549 Bytes
Contents
'use strict'; $(document).on("turbolinks:load", function () { return toggleCanvas(); }); var toggleCanvas = function toggleCanvas() { return $('[data-toggle=offcanvas]').click(function () { $(this).toggleClass('visible-xs text-center'); $(this).find('i').toggleClass('fa-chevron-right fa-chevron-left'); $('.row-offcanvas').toggleClass('active'); $('#lg-menu').toggleClass('hidden-xs').toggleClass('visible-xs'); $('#xs-menu').toggleClass('visible-xs').toggleClass('hidden-xs'); return $('#btnShow').toggle(); }); };
Version data entries
8 entries across 8 versions & 1 rubygems