mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:43:45 +02:00
Small bugfixes again
This commit is contained in:
parent
a76c3f028d
commit
be304ea975
2 changed files with 3 additions and 2 deletions
|
@ -170,7 +170,7 @@ function AppUi(properties) {
|
||||||
var currentTimestamp = new Date().getTime();
|
var currentTimestamp = new Date().getTime();
|
||||||
var lastPollTimestamp = Settings.getValue(settingsKey, currentTimestamp);
|
var lastPollTimestamp = Settings.getValue(settingsKey, currentTimestamp);
|
||||||
if (that.notificationPollCaresAboutSince) {
|
if (that.notificationPollCaresAboutSince) {
|
||||||
url = url + "&since=" + lastPollTimestamp;
|
url = url + "&since=" + lastPollTimestamp/1000;
|
||||||
}
|
}
|
||||||
Settings.setValue(settingsKey, currentTimestamp);
|
Settings.setValue(settingsKey, currentTimestamp);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
var AppUi = Script.require('appUi');
|
var AppUi = Script.require('appUi');
|
||||||
|
|
||||||
function gotoOpened() {
|
function gotoOpened() {
|
||||||
ui.messagesWaiting(false);
|
shouldShowDot = false;
|
||||||
|
ui.messagesWaiting(shouldShowDot);
|
||||||
}
|
}
|
||||||
|
|
||||||
function notificationDataProcessPage(data) {
|
function notificationDataProcessPage(data) {
|
||||||
|
|
Loading…
Reference in a new issue