diff options
| -rw-r--r-- | mobile/components/GreetingPage.js | 2 | ||||
| -rw-r--r-- | web/package.json | 2 | ||||
| -rw-r--r-- | web/public/javascripts/map.js | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/mobile/components/GreetingPage.js b/mobile/components/GreetingPage.js index 0bfa63b..18c202f 100644 --- a/mobile/components/GreetingPage.js +++ b/mobile/components/GreetingPage.js @@ -83,7 +83,7 @@ export default class GreetingPage extends Component { <TouchableHighlight style={styles.first_button_container} - onPress={() => { this.moveToFormPage() }}> + onPress={() => { this.moveToFormPage(); }}> <View style={styles.press_button}> diff --git a/web/package.json b/web/package.json index 0ff388e..8a59f6e 100644 --- a/web/package.json +++ b/web/package.json @@ -14,6 +14,6 @@ "mongodb": "*", "mongoose": "*", "morgan": "~1.9.0", - "pug": "^2.0.3" + "pug": "2.0.0-beta11" } } diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js index 5326bb2..f957223 100644 --- a/web/public/javascripts/map.js +++ b/web/public/javascripts/map.js @@ -36,6 +36,7 @@ function plotPointsOnMap(points) { // rezoom the map so that all the markers fit in the view, add 20% padding so // that marker dont cut off + console.log(latlngbounds) map.fitBounds(latlngbounds.pad(0.20)); } |
