A free, self-hostable news aggregator…
Correction js lorsqu'on n'est pas loggué
Marien Fressinaud4d21eb67468a
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtmlindex 6e216f598..fe0492b67 100644--- a/app/views/javascript/main.phtml+++ b/app/views/javascript/main.phtml@@ -63,8 +63,11 @@ function mark_read (active) {if (active[0] === undefined) {return false;}-+url = active.find ("a.read").attr ("href");+ if (url === undefined) {+ return false;+ }$.ajax ({type: 'POST',@@ -92,6 +95,9 @@ function mark_favorite (active) {}url = active.find ("a.bookmark").attr ("href");+ if (url === undefined) {+ return false;+ }$.ajax ({type: 'POST',