Index: lams_learning/web/includes/javascript/kumalive.js =================================================================== diff -u -r375a15822889954a22d95bd07cd97a1c6e4c3d97 -r90cfb30014e1e92e632b2d3f278c1647887a7073 --- lams_learning/web/includes/javascript/kumalive.js (.../kumalive.js) (revision 375a15822889954a22d95bd07cd97a1c6e4c3d97) +++ lams_learning/web/includes/javascript/kumalive.js (.../kumalive.js) (revision 90cfb30014e1e92e632b2d3f278c1647887a7073) @@ -278,14 +278,15 @@ // add learners who raised hand $.each(message.raisedHand, function() { - // if the user has already raised hand, do nothing + // if this user has raised hand, set buttons properly + if (userId == this) { + raisedHand = true; + } + // if the given user has already raised hand, do nothing var raisedHandDiv = $('.learner[userId="' + this + '"]', raiseHandContainer); if (raisedHandDiv.length > 0) { return true; } - if (userId == this) { - raisedHand = true; - } var learnerDiv = $('#learnersContainer .learner[userId="' + this + '"]'); if (learnerDiv.hasClass('changing')){