Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHo3ein <ho3ein.sanaei@gmail.com>2023-05-08 19:10:02 +0300
committerGitHub <noreply@github.com>2023-05-08 19:10:02 +0300
commit30a5f66f26164e1bcbdf9a0780a40bc56230e73c (patch)
tree749ce90b0895352639d2c45fa176a362b3105b32 /web/html/common/text_modal.html
parent7bb3e517b2e279a52fb5627e011ea03fd91f648e (diff)
parentbb6e6861ca683894139c5307bd2d41f2e264fe00 (diff)
Merge pull request #381 from hamid-gh98/main
[FIX] bug logout path + [UPDATE] login UI and more ...
Diffstat (limited to 'web/html/common/text_modal.html')
-rw-r--r--web/html/common/text_modal.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html
index ce77d0ca..1514051b 100644
--- a/web/html/common/text_modal.html
+++ b/web/html/common/text_modal.html
@@ -1,7 +1,7 @@
{{define "textModal"}}
<a-modal id="text-modal" v-model="txtModal.visible" :title="txtModal.title"
:closable="true" ok-text='{{ i18n "copy" }}' cancel-text='{{ i18n "close" }}'
- :class="siderDrawer.isDarkTheme ? darkClass : ''"
+ :class="themeSwitcher.darkCardClass"
:ok-button-props="{attrs:{id:'txt-modal-ok-btn'}}">
<a-button v-if="!ObjectUtil.isEmpty(txtModal.fileName)" type="primary" style="margin-bottom: 10px;"
:href="'data:application/text;charset=utf-8,' + encodeURIComponent(txtModal.content)"
@@ -21,7 +21,7 @@
qrcode: null,
clipboard: null,
visible: false,
- show: function (title='', content='', fileName='') {
+ show: function (title = '', content = '', fileName = '') {
this.title = title;
this.content = content;
this.fileName = fileName;