From e4e8d2fc34649248e206367cc757ece19f6027b4 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 16 Sep 2013 14:26:20 -0400 Subject: [PATCH] Allow switching between mobile and desktop view on any device. --- .../discourse/templates/header.js.handlebars | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/header.js.handlebars b/app/assets/javascripts/discourse/templates/header.js.handlebars index b73f1bf83d7..ef4df13bd1f 100644 --- a/app/assets/javascripts/discourse/templates/header.js.handlebars +++ b/app/assets/javascripts/discourse/templates/header.js.handlebars @@ -123,17 +123,15 @@ {{#titledLinkTo "list.latest" titleKey="filters.latest.help"}}{{i18n filters.latest.title}}{{/titledLinkTo}}
  • {{faqLink}}
  • - {{#if mobileDevice}} -
  • - - {{#if mobileView}} - {{i18n desktop_view}} - {{else}} - {{i18n mobile_view}} - {{/if}} - -
  • - {{/if}} +
  • + + {{#if mobileView}} + {{i18n desktop_view}} + {{else}} + {{i18n mobile_view}} + {{/if}} + +
  • {{#if categories}}