mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 07:19:14 +02:00
Apply suggestions from code review
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
parent
b64c44f5ee
commit
cc43112bf3
2 changed files with 6 additions and 6 deletions
|
@ -181,7 +181,7 @@ Controller.mousePressEvent.connect(function (event) {
|
|||
var overlay = Overlays.getOverlayAtPoint({ x: event.x, y: event.y });
|
||||
if (overlay) {
|
||||
for (var i = 0; i < notificationList.length; i++) {
|
||||
if (overlay == notificationList[i].id) {
|
||||
if (overlay === notificationList[i].id) {
|
||||
Overlays.deleteOverlay(notificationList[i].id)
|
||||
Messages.sendMessage(MAIN_CHAT_APP_CHANNEL, JSON.stringify({
|
||||
type: "ShowChatWindow",
|
||||
|
|
Loading…
Reference in a new issue