Sha256: 2bed7c282f0091607366ea8bc30ace34ca226aff5dfc260b0429c0791b241f71
Contents?: true
Size: 418 Bytes
Versions: 24
Compression:
Stored size: 418 Bytes
Contents
FORGE.features.assets.reorganize = function (mod, options) { var config = { selector: '#asset-list ul li' } $.extend(config, options); var $assets = $(config.selector); $assets.removeClass('last'); $.each($assets, function() { var index = $(this).index(); if((index + 1) % mod === 0) { $(this).addClass('last'); } if(index > 19) { $(this).fadeOut('fast'); } }); }
Version data entries
24 entries across 24 versions & 1 rubygems