Skip to content

Instantly share code, notes, and snippets.

View unlucio's full-sized avatar

Luciano Colosio unlucio

View GitHub Profile
function mouseup(evt) {
var contentList = this.cont.list;
var [start, end] = [contentList.indexOf(_lastItemSelected), contentList.indexOf(this)].sort();
if (_isDD) {
return;
}
if (evt.shiftKey == true) {
for (var i = start; i <= end ; i++) {