Skip to content
Snippets Groups Projects
Commit 85c8b238 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento Committed by GitHub
Browse files

Merge pull request #7322 from RocketChat/fix-geolocation-button

[FIX] Fix geolocation button
parents 9ca84353 2d0ec89c
No related branches found
No related tags found
No related merge requests found
......@@ -329,7 +329,7 @@ Template.messageBox.events({
t.$('.share-items').toggleClass('hidden');
return t.$('.message-buttons.share').toggleClass('active');
},
'click .message-form .message-buttons.location'() {
'click .message-form .message-buttons.location-button'() {
const roomId = this._id;
const position = RocketChat.Geolocation.get();
const latitude = position.coords.latitude;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment