Last corrections before micro workers

This commit is contained in:
Thomas FORGIONE
2015-10-07 14:13:20 +02:00
parent 688223eb58
commit 00fe3dfe34
4 changed files with 203 additions and 32 deletions

View File

@@ -12,7 +12,8 @@ block content
block extrajs
script.
if ($.browser.chrome || $.browser.mozilla) {
var isOpera = window.navigator.userAgent.indexOf("OPR") > -1 || window.navigator.userAgent.indexOf("Opera") > -1;
if (($.browser.chrome || $.browser.mozilla) && !isOpera) {
$('#start').html('You can now <a href="/user-study">start when you are ready</a>');
} else {
$('#start').html('Sorry, your browser is not compatible... please try again with Firefox or Chrome');