Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Changed cache reload alert msg
Browse files Browse the repository at this point in the history
  • Loading branch information
vecter committed Jan 15, 2012
1 parent 21d6f2e commit 2a8d7b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/app.js
Expand Up @@ -7,8 +7,8 @@ define([
var initialize = function() {
// c.f. http://appcachefacts.info/
if (window.applicationCache) {
applicationCache.addEventListener('updateready', function() {
if (confirm('An update is available. Reload now?')) {
window.applicationCache.addEventListener('updateready', function() {
if (confirm('A new version of DocHub is available. Reload now?')) {
window.location.reload();
}
});
Expand Down

0 comments on commit 2a8d7b1

Please sign in to comment.