Rename dolike to doActivityItem
This commit is contained in:
parent
36f302e6e6
commit
3a18669730
14 changed files with 54 additions and 54 deletions
|
@ -774,13 +774,13 @@ function htmlToText(htmlString) {
|
|||
* @param {string} verb The verb of the action
|
||||
* @param {boolean} un Whether to perform an activity removal instead of creation
|
||||
*/
|
||||
function doLikeAction(ident, verb, un) {
|
||||
function doActivityItemAction(ident, verb, un) {
|
||||
if (verb.indexOf("attend") === 0) {
|
||||
$(".item-" + ident + " .button-event:not(#" + verb + "-" + ident + ")").removeClass("active");
|
||||
}
|
||||
$("#" + verb + "-" + ident).toggleClass("active");
|
||||
|
||||
dolike(ident, verb, un);
|
||||
doActivityItem(ident, verb, un);
|
||||
}
|
||||
|
||||
// Decodes a hexadecimally encoded binary string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue