Sha256: 50a123902f77048550604abf74ad621dff43e81e362f558e0b6ba9feb46cb4d4
Contents?: true
Size: 475 Bytes
Versions: 30
Compression:
Stored size: 475 Bytes
Contents
/* eslint-disable no-ternary */ ((exports) => { const { createSortList } = exports.DecidimAdmin; // Once in DOM $(() => { const selector = ".js-sortable" const $sortable = $(selector) $sortable.each((index, elem) => { const item = (elem.id) ? `#${elem.id}` : selector createSortList(item, { handle: "li", forcePlaceholderSize: true, placeholderClass: "sort-placeholder" }) }) }) })(window)
Version data entries
30 entries across 30 versions & 1 rubygems