aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorCamil Staps2016-01-05 19:58:45 +0100
committerCamil Staps2016-01-05 19:58:45 +0100
commitdcf5ed8b8ac33f6f5aa77c8dd3ac13746f55a155 (patch)
treeee3a99d32c2d342e3548d1512305f53048baac5b /public/js
parentRemoved timestamps (diff)
Parsing help
Diffstat (limited to 'public/js')
-rw-r--r--public/js/hebrewparsetrainer.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/js/hebrewparsetrainer.js b/public/js/hebrewparsetrainer.js
index f98d5b9..dc838c7 100644
--- a/public/js/hebrewparsetrainer.js
+++ b/public/js/hebrewparsetrainer.js
@@ -253,5 +253,13 @@ $(document).ready(function(){
reloadVerb();
});
+ var help_shown = false;
+ $('#show-hide-help').click(function(){
+ help_shown = !help_shown;
+ $('#trainer-input-help').slideToggle();
+ $(this).text((help_shown ? 'Hide' : 'Show') + ' help');
+ $('#trainer-input-'+input_count).focus();
+ });
+
init();
});