about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-21 00:13:13 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-21 00:13:13 +0100
commite09d3a2c6692fbc16cc6788cdc32b87e86f0b60f (patch)
treedecd8b232e0a237dccbb6e108b336ccb8f066384 /app/views/about
parent806ffbab63fb888bf71fb0dcb74bd4ec11303ab9 (diff)
Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/index.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/about/index.html.haml b/app/views/about/index.html.haml
index 160a66710..fe13de837 100644
--- a/app/views/about/index.html.haml
+++ b/app/views/about/index.html.haml
@@ -2,6 +2,7 @@
   = Rails.configuration.x.local_domain
 
 - content_for :header_tags do
+  = javascript_include_tag 'application_public'
   %meta{ property: 'og:site_name', content: 'Mastodon' }/
   %meta{ property: 'og:type', content: 'website' }/
   %meta{ property: 'og:title', content: Rails.configuration.x.local_domain }/
@@ -25,5 +26,5 @@
       = link_to t('about.terms'), terms_path
       = link_to t('about.source_code'), 'https://github.com/Gargron/mastodon'
 
-    = link_to t('about.get_started'), new_user_registration_path, class: 'button'
-    = link_to t('auth.login'), new_user_session_path, class: 'button'
+    = link_to t('about.get_started'), new_user_registration_path, class: 'button webapp-btn'
+    = link_to t('auth.login'), new_user_session_path, class: 'button webapp-btn'