fixed R swipe highlighting to work when mid-gen
This commit is contained in:
+1
-1
@@ -2706,7 +2706,7 @@ function showSwipeButtons() {
|
||||
currentMessage.children('.swipe_right').css('opacity', '0.3');
|
||||
}
|
||||
//console.log((chat[chat.length - 1]));
|
||||
if (is_send_press === false && (chat[chat.length - 1].swipes.length - swipeId) === 1) {
|
||||
if ((chat[chat.length - 1].swipes.length - swipeId) === 1) {
|
||||
console.log('highlighting R swipe');
|
||||
currentMessage.children('.swipe_right').css('opacity', '0.7');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user