diff options
author | Struan Donald <struan@exo.org.uk> | 2012-12-24 09:50:11 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-12-24 09:50:11 +0000 |
commit | 55f8730beb5bfd4ac5515f9c99b5c716aeae8886 (patch) | |
tree | 9803cf5e6faa3457a62831d6f2f6624bde278b37 /www/js | |
parent | d8d8bd8f593d13d315f1df4a223474bef02761b4 (diff) |
do not hardcode device type
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/mobile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js index 66b83be..37c8763 100644 --- a/www/js/mobile.js +++ b/www/js/mobile.js @@ -542,7 +542,7 @@ function postReport(e) { if ( !validate_user_details() ) { $.mobile.loading('hide'); return; } var params = { - service: 'iphone', + service: device.platform, title: report.title(), detail: report.detail(), may_show_name: $('#form_may_show_name').attr('checked') ? 1 : 0, |