mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 16:14:01 +02:00
Cleanup
This commit is contained in:
parent
b6601feb1d
commit
0ac660d4ab
2 changed files with 3 additions and 1 deletions
|
@ -117,7 +117,7 @@ input[type=button].naked:active {
|
|||
.shareButtons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 40px;
|
||||
margin-left: 30px;
|
||||
height: 100%;
|
||||
}
|
||||
.blastToConnections {
|
||||
|
|
|
@ -36,6 +36,8 @@ var shareAfterLogin = false;
|
|||
var snapshotToShareAfterLogin;
|
||||
var METAVERSE_BASE = location.metaverseServerUrl;
|
||||
|
||||
// It's totally unnecessary to return to C++ to perform many of these requests, such as DELETEing an old story,
|
||||
// POSTING a new one, PUTTING a new audience, or GETTING story data. It's far more efficient to do all of that within JS
|
||||
function request(options, callback) { // cb(error, responseOfCorrectContentType) of url. A subset of npm request.
|
||||
var httpRequest = new XMLHttpRequest(), key;
|
||||
// QT bug: apparently doesn't handle onload. Workaround using readyState.
|
||||
|
|
Loading…
Reference in a new issue