diff --git a/app/views/layouts/phone.html.slim b/app/views/layouts/phone.html.slim index 28898e2f..0bbe5ff5 100644 --- a/app/views/layouts/phone.html.slim +++ b/app/views/layouts/phone.html.slim @@ -19,9 +19,9 @@ html lang="en" link href="images/favicon.ico" rel="shortcut icon" javascript: // Dummy holder when Qmobile object is not supplied by the mobile phone - var QMobile2 = { + QMobile || (var QMobile = { scanQr: function(){window.location = '/select_qrcode'} - } + }) body .navbar.navbar-fixed-top