From df90425a48e3ab0b14d71c5ae24e6cc8d2b19eec Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Thu, 30 Aug 2012 07:42:43 +0200 Subject: [PATCH] attempt to do a proper QMobile object --- app/views/layouts/phone.html.slim | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/layouts/phone.html.slim b/app/views/layouts/phone.html.slim index e33c7c52..0d76b2ae 100644 --- a/app/views/layouts/phone.html.slim +++ b/app/views/layouts/phone.html.slim @@ -18,6 +18,7 @@ html lang="en" link href="images/apple-touch-icon.png" rel="apple-touch-icon-precomposed" link href="images/favicon.ico" rel="shortcut icon" javascript: + var QMobile; // Dummy holder when Qmobile object is not supplied by the mobile phone QMobile || (QMobile = { scanQr: function(){window.location = '/select_qrcode'}