ios fixes

This commit is contained in:
2014-12-24 11:54:01 +01:00
parent 40501f743d
commit 6cdb09e09d
5 changed files with 16 additions and 5 deletions
@@ -5,6 +5,9 @@ App.SettingsController = Ember.Controller.extend
if text = $('#debug-eval-string')
result = eval(text)
#result = JSON.stringify(result)
result = result.toString()
if result
result = result.toString()
else
result = 'null'
$('.debug-info').append result
$('.debug-info').append "\n"
@@ -8,7 +8,7 @@
.display-row
.display-label  
.display-field: a.button href="./index.html"=t 'settings.reload_application'
.row
/.row
.small-8.columns: input#debug-eval-string
.small-4.columns: button{action "evalDebugString"} Debug
.row: .small-12.columns: pre.panel.debug-info
/.row: .small-12.columns: pre.panel.debug-info
@@ -18,4 +18,6 @@ App.ApplicationView = Ember.View.extend
#ios7 detection
if window.device and window.device.platform and window.device.platform.toLowerCase() is "ios" and parseFloat(window.device.version) >= 7.0
controller.set 'ios7', true
$('body').addClass 'ios7'
body = $('body')
body.addClass 'ios7'
body.append $('<div></div>').addClass("ios7-menu-panel")
@@ -8,3 +8,9 @@ body.ios7
padding-top: $ios-menu-height
.main-section
top: $top-menu-height + $ios-menu-height
.ios7-menu-panel
position: absolute
top: 0
width: 100%
height: $ios-menu-height
background-color: white
+1 -1
View File
@@ -1 +1 @@
0.9.23
0.9.24