diff options
author | friendica <info@friendica.com> | 2015-02-10 19:10:18 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-10 19:10:18 -0800 |
commit | 79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8 (patch) | |
tree | 18ee5a91f1ce6e8d4c964174549ac10f4ab949be /view/tpl/jot-header.tpl | |
parent | 79da33dafdac1427ac07b4414a5da5f9f3a2b03d (diff) | |
download | volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.tar.gz volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.tar.bz2 volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.zip |
item voting tools
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-x | view/tpl/jot-header.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 678d16a71..8daf2ddb7 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -309,6 +309,16 @@ function enableOnUser(){ timer = setTimeout(NavUpdate,1000); } + function toggleVoting() { + if($('#jot-consensus').val() > 0) { + $('#jot-consensus').val(0); + $('#profile-voting').removeClass('icon-check').addClass('icon-check-empty'); + } + else { + $('#jot-consensus').val(1); + $('#profile-voting').removeClass('icon-check-empty').addClass('icon-check'); + } + } function jotClearLocation() { $('#jot-coord').val(''); |