Skip to content

Commit

Permalink
Merge remote-tracking branch 'nhoizey/patch-1' into gh-pages
Browse files Browse the repository at this point in the history
Addresses shinypb#15
  • Loading branch information
Max Edmands committed Apr 15, 2014
2 parents af46842 + 90c52c3 commit f5e73f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h1 id="title">Appcache Facts</h1>
<p>If you'd like, you can listen for the <code>updateready</code> event to detect this and prompt the
user to reload the page:</p>
<p><pre>if (window.applicationCache) {
applicationCache.addEventListener('updateready', function() {
window.applicationCache.addEventListener('updateready', function() {
if (confirm('An update is available. Reload now?')) {
window.location.reload();
}
Expand Down

0 comments on commit f5e73f5

Please sign in to comment.