Bug 1110768 - [Rooms][Log] Improve logic related with tap and long press...

... actions r=crdlc
```js
if (element.classList.contains('primary-action')) {

} else if (element.classList.contains('secondary-action')) {

}
```