diff options
author | Dave Arter <davea@mysociety.org> | 2018-05-02 11:02:06 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-05-02 12:52:36 +0100 |
commit | 701aa5f29d52a482b8ef5afc49301b45ea09c1a1 (patch) | |
tree | 3842a74917a76279de0388160bf2f491c4cd3227 /www/js/views/details_extra.js | |
parent | 1e7029591628c3d7d0b710e9443c78aaa3b57902 (diff) |
Stop keyboard obscuring report detail text box
Adjusts the height of the details textarea when the keyboard
is shown so that it doesn't disappear behind the keyboard.
Fixes #222
Diffstat (limited to 'www/js/views/details_extra.js')
-rw-r--r-- | www/js/views/details_extra.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/www/js/views/details_extra.js b/www/js/views/details_extra.js index a516562..e5f63ba 100644 --- a/www/js/views/details_extra.js +++ b/www/js/views/details_extra.js @@ -108,18 +108,6 @@ this.$('input').each(populate); this.$('select').each(populate); this.$('textarea').each(populate); - }, - - disableScrolling: function() { - if ( typeof cordova !== 'undefined' ) { - cordova.plugins.Keyboard.disableScroll(true); - } - }, - - enableScrolling: function() { - if ( typeof cordova !== 'undefined' ) { - cordova.plugins.Keyboard.disableScroll(false); - } } }) }); |