Skip to content

Commit 218e3bc

Browse files
committed
Remove equals() method comparison, use == instead in JS
git-svn-id: https://share-extras.googlecode.com/svn/trunk/Site Geotagged Content Dashlet@1446 a3f5c567-fd0f-3a89-9b71-a290c5a5f590
1 parent 2182d50 commit 218e3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/web/extras/components/dashlets/site-geotagged-content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ if (typeof Extras.dashlet == "undefined" || !Extras.dashlet)
11271127
*/
11281128
isSameMarker: function SiteGeotaggedContent_isSameMarker(m1, m2)
11291129
{
1130-
return m1 != null && m2 != null && m1.getLatLng().toString().equals(m1.getLatLng().toString());
1130+
return m1 != null && m2 != null && m1.getLatLng().toString() == m1.getLatLng().toString();
11311131
}
11321132
});
11331133

0 commit comments

Comments
 (0)