|
|
@ -209,6 +209,16 @@ $(function(){ |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
function onUpdateReady() { |
|
|
|
// Show the notice that says there is a new version of the app
|
|
|
|
$("#new_version_available").show(); |
|
|
|
} |
|
|
|
|
|
|
|
window.applicationCache.addEventListener('updateready', onUpdateReady); |
|
|
|
if(window.applicationCache.status === window.applicationCache.UPDATEREADY) { |
|
|
|
onUpdateReady(); |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
</script> |
|
|
@ -220,4 +230,4 @@ $(function(){ |
|
|
|
.scroll-container .break { |
|
|
|
word-break: break-all; |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |