Skip to content

Commit

Permalink
Using strict equality checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
fkurmannucsc committed Jul 2, 2024
1 parent 83b23be commit 299ec17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ function initVideo(info) {
let longitude = video_location.longitude ?? undefined;

// Remove leading "+"
if (latitude != undefined) {
if (latitude !== undefined) {
latitude = latitude.replace('+', '');
}
if (longitude != undefined) {
if (longitude !== undefined) {
longitude = longitude.replace('+', '');
}

Expand Down

0 comments on commit 299ec17

Please sign in to comment.