From 2c64626e7a8a329d4d4a2f490acb3ce70f5260ef Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 11 May 2017 11:01:56 -0700 Subject: [PATCH] mobile: Disable tutorial on mobile clients. --- static/js/setup.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/setup.js b/static/js/setup.js index 026de827c5..b9d8e3da6c 100644 --- a/static/js/setup.js +++ b/static/js/setup.js @@ -2,10 +2,12 @@ var csrf_token; $(function () { - // if the client is mobile, disable websockets for message sending - // (it doesn't work on iOS for some reason). if (util.is_mobile()) { + // if the client is mobile, disable websockets for message sending + // (it doesn't work on iOS for some reason). page_params.use_websockets = false; + // Also disable the tutorial; it's ugly on mobile. + page_params.needs_tutorial = false; } page_params.page_load_time = new Date().getTime();