Sha256: 73b8a182b230dc0165d60be8546afefd333307c29086d12b4467d414e31a42bc
Contents?: true
Size: 891 Bytes
Versions: 7
Compression:
Stored size: 891 Bytes
Contents
I"o(function() { var ready, show_layout_parts; ready = function() { var layout_parts; if ($('.account-theme').length > 0) { layout_parts = $('.account-theme').data('layout-parts'); return show_layout_parts(layout_parts); } }; $(document).on('ready page:load', ready); $(document).on('change', '.account-theme select', function() { var layout_parts; layout_parts = $(this).find('option:selected').data('layout-parts').split(" "); return show_layout_parts(layout_parts); }); show_layout_parts = function(layout_parts) { var i, layout_part, len, results; $('tr.layout-part').hide(); results = []; for (i = 0, len = layout_parts.length; i < len; i++) { layout_part = layout_parts[i]; results.push($('tr.layout-part[data-name=' + layout_part + ']').show()); } return results; }; }).call(this); :ET
Version data entries
7 entries across 5 versions & 1 rubygems