fix mobile viewport for mobile site
This commit is contained in:
parent
92a0b568c3
commit
2fb2cd0a80
1 changed files with 2 additions and 1 deletions
|
|
@ -9,8 +9,9 @@
|
||||||
DIASPORA*
|
DIASPORA*
|
||||||
|
|
||||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||||
|
|
||||||
= include_javascripts :mobile
|
= include_javascripts :mobile
|
||||||
|
%meta{'name' =>'viewport', 'content' => 'width=device-width, initial-scale=scale1'}
|
||||||
|
|
||||||
-if current_user
|
-if current_user
|
||||||
:javascript
|
:javascript
|
||||||
Diaspora.widgets.i18n.loadLocale(#{get_javascript_strings_for(current_user.language).to_json}, "#{current_user.language}");
|
Diaspora.widgets.i18n.loadLocale(#{get_javascript_strings_for(current_user.language).to_json}, "#{current_user.language}");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue