mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:36:44 +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 {
|
.shareButtons {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: 40px;
|
margin-left: 30px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.blastToConnections {
|
.blastToConnections {
|
||||||
|
|
|
@ -36,6 +36,8 @@ var shareAfterLogin = false;
|
||||||
var snapshotToShareAfterLogin;
|
var snapshotToShareAfterLogin;
|
||||||
var METAVERSE_BASE = location.metaverseServerUrl;
|
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.
|
function request(options, callback) { // cb(error, responseOfCorrectContentType) of url. A subset of npm request.
|
||||||
var httpRequest = new XMLHttpRequest(), key;
|
var httpRequest = new XMLHttpRequest(), key;
|
||||||
// QT bug: apparently doesn't handle onload. Workaround using readyState.
|
// QT bug: apparently doesn't handle onload. Workaround using readyState.
|
||||||
|
|
Loading…
Reference in a new issue