Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions imports/ui/components/Headers/HeaderLocation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Session } from "meteor/session";

export class HeaderLocation extends React.Component {


//Seria bueno quitar/achicar la barra de busqueda grande cuando se realiza la búsqueda. En pantallas pequeñas casi
//no se nota la actualización de datos segun el estadio
handleClick() {
fetch("https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyA1hR7bNT1ZIhNGm1eHDGcXUPOB3bIMPo4", {
method: "POST"
Expand Down Expand Up @@ -33,6 +34,7 @@ export class HeaderLocation extends React.Component {
});
});
}

search() {
var st = document.getElementById("stadium-name").value;
console.log(st);
Expand Down Expand Up @@ -98,4 +100,4 @@ export class HeaderLocation extends React.Component {
</div>
);
}
}
}