Skip to content

Commit

Permalink
Merge pull request #10037 from internetarchive/improve-offline-pages
Browse files Browse the repository at this point in the history
improve offline page by autoloading
  • Loading branch information
mekarpeles authored Nov 25, 2024
2 parents ccf0eb9 + 7a5c93c commit 00f61af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/offline.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
a{margin: 8px; padding: 4px 8px; background: #e44028; color: white; border-radius: 4px; text-decoration: none;}
a.goback{background: #0376b8;}
</style>
<script>window.addEventListener('online', () => location.reload());</script>
</head>
<body>
<div id="logo"><img src="/static/images/logo_OL-err.png" alt="The Open Library is closed!" width="219" height="131"/></div>
Expand Down

0 comments on commit 00f61af

Please sign in to comment.