-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,7 +170,7 @@ | |
</div> | ||
<div style="float:left;"><h1 class="my-1">RSS Algo</h1></div> | ||
<div style="float:left;width:100%;padding-top: 8px;">No tracking? No problem. Your data and your algo, living on your device. <a href="https://github.com/colarusso/rss_algo#rss_algo" target="_blank">Learn More</a> </div> | ||
<span id="loading" style="float:left;background:yellow;display:none;margin-right: 10px;color:black;margin-top: 10px;"><i>Loading...</i></span> | ||
<span id="loading" style="float:left;background:yellow;display:none;margin-right: 10px;color:black;margin-top: 10px;"><i> Loading... </i></span> | ||
<div class="my-3" style="float:left;width:100%;"> | ||
<span style="float:right"><a href="#my_data">My Data</a></span> | ||
<span id="unread-count" class="text-danger">Unread: ?</span> | ||
|
@@ -219,6 +219,8 @@ <h4>History</h4> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script> | ||
|
||
history.replaceState('', document.title, window.location.pathname);window.scrollTo(0, 0); | ||
|
||
function reset_all() { | ||
let text = "This will erase all of your data and rest the list of feeds to default values. Choose OK to continue."; | ||
if (confirm(text) == true) { | ||
|
@@ -300,7 +302,7 @@ <h4>History</h4> | |
if (n_feeds>=rssFeeds.length) { | ||
document.getElementById('loading').style.display = "none"; | ||
} else { | ||
document.getElementById('loading').innerHTML = "<i>Loading feed "+(1+n_feeds)+" of "+rssFeeds.length+".</i>" | ||
document.getElementById('loading').innerHTML = "<i> Loading feed "+(1+n_feeds)+" of "+rssFeeds.length+". </i>" | ||
} | ||
return data; | ||
} | ||
|