Self hosted FLOSS fitness/workout, nutrition and weight tracker
Get out if there are problems initialising the browserID javascript
Roland Geider1f2bc9e4e632
diff --git a/manager/static/js/browserid.js b/manager/static/js/browserid.jsindex 3069194bf..8a52a6317 100644--- a/manager/static/js/browserid.js+++ b/manager/static/js/browserid.js@@ -5,6 +5,17 @@(function($) {'use strict';+ // If there are problems initialising the browserID javascript+ // don't try to setup the watchers+ try{+ navigator.id.watch;+ }+ catch(error)+ {+ console.debug('navigator.id not available. Login with Persona not possible.');+ return;+ }+$(function() {var requestOptions = ['siteName',