aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-08-07 14:18:32 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-05 17:31:06 +0100
commit75419ceb142852db15d0d72e05400b163c40caf6 (patch)
tree57b80a33d0771987cb0bde36e79130182820b075 /web/js
parente237198173f3307fdf8c6866831116ae2f1f9f4a (diff)
add display-on-click hints
Diffstat (limited to 'web/js')
-rw-r--r--web/js/fixmystreet-admin.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/js/fixmystreet-admin.js b/web/js/fixmystreet-admin.js
index d55bbab21..27be7f14d 100644
--- a/web/js/fixmystreet-admin.js
+++ b/web/js/fixmystreet-admin.js
@@ -21,5 +21,15 @@ $(function(){
$('#send_method').on('change', hide_or_show_open311);
hide_or_show_open311();
}
+
+ // admin hints: maybe better implemented as tooltips?
+ $(".admin-hint").on('click', function(){
+ if ($(this).hasClass('admin-hint-show')) {
+ $(this).removeClass('admin-hint-show');
+ } else {
+ $(this).addClass('admin-hint-show');
+ }
+ });
+
});