check if users have service workers

pull/1/head
ansuz 2017-12-21 17:30:54 +01:00
parent 5f42a9749f
commit 892dfb18f7
1 changed files with 3 additions and 0 deletions

View File

@ -703,6 +703,9 @@ define([
if (typeof(Worker) === "undefined") {
Feedback.send('NO_WEBWORKER');
}
if (typeof(ServiceWorker) === "undefined") {
Feedback.send('NO_SERVICEWORKER');
}
Feedback.reportScreenDimensions();
Feedback.reportLanguage();