Skip to content

Commit

Permalink
#1082. Changed != to !== in iframe-coordination.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliazaragoza committed Jan 29, 2025
1 parent 9efdeb6 commit 7873143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-client/public/js/iframe-coordination.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const sendDimensions = (destination, origin) => {
};

window.addEventListener("message", event => {
if (event.origin != "https://grnsight.lmucs.org") {
if (event.origin !== "https://grnsight.lmucs.org") {
// Ignore any message that did not originate from the GRNsight web client server.
return;
}
Expand Down

0 comments on commit 7873143

Please sign in to comment.