From c4c31f2d0324b8c7e0d67ce5bd3add37bde3352b Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 21 Jun 2023 18:39:26 +0800 Subject: [PATCH] fix sciter login handling, and remove ab tag border --- src/ui/common.css | 3 +-- src/ui/index.tis | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/common.css b/src/ui/common.css index 9845ff104..4bd1f114d 100644 --- a/src/ui/common.css +++ b/src/ui/common.css @@ -371,7 +371,6 @@ menu li.line-through, menu li.line-through :hover { } #tags { - border: color(border) 1px solid; size: *; padding: 0.5em; overflow-y: scroll-indicator; @@ -380,8 +379,8 @@ menu li.line-through, menu li.line-through :hover { } #tags span { + background: color(gray-bg); display: inline-block; - border: color(border) 1px solid; border-radius: 6px; padding: 3px 0.5em; word-wrap: normal; diff --git a/src/ui/index.tis b/src/ui/index.tis index 76fa845c0..adfa5a035 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -1292,6 +1292,9 @@ function refreshCurrentUser() { app.update(); httpRequest(handler.get_api_server() + "/api/currentUser", #post, {id: my_id, uuid: handler.get_uuid()}, function(data) { if (data.error) { + if (data.error == 'Invalid token') { + reset_token(); + } handleAbError(data.error); return; }