Compare commits
No commits in common. "3f20bd1cd3d046dacaf2d223728624c17bc3653a" and "d5d24b0e7e53a11ac0cf13004923237a978be2c4" have entirely different histories.
3f20bd1cd3
...
d5d24b0e7e
@ -183,7 +183,6 @@
|
|||||||
this.selectedItem = undefined;
|
this.selectedItem = undefined;
|
||||||
this.items.forEach(item => item.Read = item.Read || item.PendingRead);
|
this.items.forEach(item => item.Read = item.Read || item.PendingRead);
|
||||||
this.selectedFeed = feed;
|
this.selectedFeed = feed;
|
||||||
window.location.hash = feed;
|
|
||||||
},
|
},
|
||||||
loadItem(item) {
|
loadItem(item) {
|
||||||
if (this.selectedItem === item.ID) {
|
if (this.selectedItem === item.ID) {
|
||||||
@ -343,9 +342,6 @@
|
|||||||
])
|
])
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.setBusy(false);
|
this.setBusy(false);
|
||||||
if (window.location.hash.length > 1) {
|
|
||||||
this.loadFeed(window.location.hash.substr(1));
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
@ -64,11 +64,6 @@ class FeedItem extends HTMLElement {
|
|||||||
[...this.shadowRoot.querySelectorAll('a[href^=http]')].forEach(a => {
|
[...this.shadowRoot.querySelectorAll('a[href^=http]')].forEach(a => {
|
||||||
a.setAttribute("target", "_blank");
|
a.setAttribute("target", "_blank");
|
||||||
a.setAttribute("rel", "noopener");
|
a.setAttribute("rel", "noopener");
|
||||||
});
|
|
||||||
[...this.shadowRoot.querySelectorAll('p')].forEach(p => {
|
|
||||||
if (p.innerText.trim() == "") {
|
|
||||||
p.remove();
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user