Fix indentation

This commit is contained in:
Siphalor 2022-08-17 22:31:09 +02:00
parent 281bddf788
commit c993636e85
No known key found for this signature in database
GPG key ID: 2A25E34F8F75C11A

View file

@ -16,16 +16,16 @@
for (var i = 0; i < flux_list.length; i++) {
if ("readingTime" in flux_list[i].dataset) {
continue;
}
if ("readingTime" in flux_list[i].dataset) {
continue;
}
reading_time.flux = flux_list[i];
reading_time.words_count = reading_time.flux_words_count(flux_list[i]); // count the words
reading_time.reading_time = reading_time.calc_read_time(reading_time.words_count, 300); // change this number (in words) to your prefered reading speed
flux_list[i].dataset.readingTime = reading_time.reading_time;
flux_list[i].dataset.readingTime = reading_time.reading_time;
if (document.body.clientWidth <= 840) { // in mobile mode, the feed name is not visible (there is only the favicon)
// add the reading time right before article's title