Skip to content

Commit

Permalink
Fixes #72
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Feb 9, 2020
1 parent f7eea80 commit f875600
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/HacsFrontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ class HacsFrontendBase extends LitElement {

protected async firstUpdated() {
window.onpopstate = function() {
window.location.reload();
if (window.location.pathname.includes("hacs")) {
window.location.reload();
}
};
const [
repositories,
Expand Down

0 comments on commit f875600

Please sign in to comment.