rcv-site/public/static/script.js
Jack Wines eb50e5e5a0 pesky changing ids bug squashed & added js libraries
Now that the bug is squashed, I no longer need to pin acid-state to a
specific version (I previously thought it was a bad version, it was
actually storing the StdGen in the DB). Also you can now get a
ballot (though not submit it).
2023-06-12 12:35:38 -07:00

10 lines
297 B
JavaScript

htmx.onLoad(function(content) {
var sortables = content.querySelectorAll(".sortable");
for (var i = 0; i < sortables.length; i++) {
var sortable = sortables[i];
new Sortable(sortable, {
animation: 150,
ghostClass: 'blue-background-class'
});
}
})