aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/app.js')
-rw-r--r--src/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js/app.js b/src/js/app.js
index 74db8fe..539ad43 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -38,7 +38,7 @@ var tpl = {
(function (FMS, Backbone, _, $) {
_.extend(FMS, {
templates: [
- 'home', 'around', 'offline', 'save_offline', 'reports', 'login', 'address_search', 'existing', 'photo', 'details', 'details_extra', 'submit', 'submit_email', 'submit_name', 'submit_set_password', 'submit_password', 'submit_confirm', 'sent'
+ 'home', 'help', 'around', 'offline', 'save_offline', 'reports', 'login', 'address_search', 'existing', 'photo', 'details', 'details_extra', 'submit', 'submit_email', 'submit_name', 'submit_set_password', 'submit_password', 'submit_confirm', 'sent'
],
usedBefore: 0,
@@ -148,6 +148,9 @@ var tpl = {
viewHeight = $(window).height(),
helpHeight = viewHeight;
+ var template = _.template( tpl.get('help') );
+ help.html(template());
+
console.log( 'viewheight: ' + viewHeight );
console.log( 'top: ' + top );