Skip to content

A free, self-hostable news aggregator…

Suppression d'un message de débogage

Amaury Carrade0a1a7816093f
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 87df5b551..bd9321202 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -60,7 +60,6 @@ function incUnreadsFeed(article, feed_id, nb) {
elem = $('#aside_flux .all').children(':first').get(0);
if (elem) {
feed_unreads = elem ? (parseInt(elem.getAttribute('data-unread').replace(' ', ''), 10) || 0) : 0;
- alert(elem.getAttribute('data-unread') + "\n" + feed_unreads);
elem.setAttribute('data-unread', numberFormat(Math.max(0, feed_unreads + nb)));
}
}