A free, self-hostable news aggregator…
Minor JavaScript problems with drag & drop
Alexandre Alapetite396ebb0fd204
diff --git a/p/scripts/category.js b/p/scripts/category.jsindex 29c049924..eb08ecd6e 100644--- a/p/scripts/category.js+++ b/p/scripts/category.js@@ -6,17 +6,19 @@ var loading = false,dnd_successful = false;function dragend_process(t) {- t.style.display = 'none';+ t.setAttribute('draggable', 'false');if (loading) {window.setTimeout(function() {dragend_process(t);}, 50);+ return;}if (!dnd_successful) {- t.style.display = 'block';- t.style.opacity = 1.0;+ t.style.display = '';+ t.style.opacity = '';+ t.setAttribute('draggable', 'true');} else {var parent = $(t.parentNode);$(t).remove();