Sha256: eddf2a5c34d4bb3f389a7bfd262e8357a88a45f985498e4e33ba56154fb92ae4
Contents?: true
Size: 676 Bytes
Versions: 8
Compression:
Stored size: 676 Bytes
Contents
(function () { 'use strict'; jQuery(function() { $('.card-actions').on('click', 'a, button', function(evt) { evt.preventDefault(); if ($(this).hasClass('btn-close')) { $(this).parent().parent().parent().fadeOut(); } else if ($(this).hasClass('btn-minimize')) { var panelIconOpened = 'icon-arrow-up', panelIconClosed = 'icon-arrow-down'; if ($(this).hasClass('collapsed')) { $('i', $(this)).removeClass(panelIconOpened).addClass(panelIconClosed); } else { $('i', $(this)).removeClass(panelIconClosed).addClass(panelIconOpened); } } }); }); }());
Version data entries
8 entries across 8 versions & 1 rubygems