diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-06 22:00:25 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-06 22:00:25 +0100 |
commit | 068fc5d43dd2a0e01025b018b682b39089a57338 (patch) | |
tree | f1a1211555d2539e7c887b7bed01b0c39425eca4 /web/public | |
parent | d0998e64dcc402773b256907bc382e858368db90 (diff) | |
download | taginfo-068fc5d43dd2a0e01025b018b682b39089a57338.tar taginfo-068fc5d43dd2a0e01025b018b682b39089a57338.tar.gz |
New print_checkmark javascript function
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/js/taginfo.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 83926e3..8a9216e 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -123,6 +123,10 @@ function print_with_ts(value) { } } +function print_checkmark(value) { + return value ? '✔' : '-'; +} + /* ============================ */ function print_key_or_tag_list(list) { |