mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
jump to the selected user
This commit is contained in:
parent
fc1e588588
commit
3f84e5778c
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="main">
|
||||
<!-- <input type="button" class="white" id="visibility-toggle" value="Online"> -->
|
||||
<ul class="tabs">
|
||||
<li tab-id="tab-1" class="current">Everyone (0)</li>
|
||||
<li tab-id="tab-2">Friends (0)</li>
|
||||
|
@ -326,13 +325,14 @@
|
|||
// Write info to the modal
|
||||
var modal = $(this);
|
||||
modal.find(".modal-title").text("Jump to " + username + " @ " + placename);
|
||||
$("#jump-to-confirm-button").data("username", username);
|
||||
})
|
||||
|
||||
$("#jump-to-confirm-button").click(function() {
|
||||
var jumpToObject = {
|
||||
"type": "jump-to",
|
||||
"data": {
|
||||
"username": "Alan_"
|
||||
"username": $(this).data("username")
|
||||
}
|
||||
}
|
||||
EventBridge.emitWebEvent(JSON.stringify(jumpToObject));
|
||||
|
|
Loading…
Reference in a new issue