We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43bbe5d commit d2f6efaCopy full SHA for d2f6efa
about.html
@@ -84,7 +84,9 @@ <h1>About</h1>
84
if ("serviceWorker" in navigator) {
85
navigator.serviceWorker.getRegistration().then(function(registration){
86
if (registration) {
87
+ if (registration.active) {
88
document.getElementById("cachenamedisplay").innerHTML = "Service worker " + registration.active.state + " ";
89
+ }
90
}
91
});
92
};
0 commit comments