Skip to content

Commit 9847338

Browse files
committed
Removing unnecessary code
1 parent 9136b01 commit 9847338

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Source/Android/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
#editor #memo{display:block; width:calc(100% - 24px); height:calc(100% - 45px); padding:4px 0; margin:0 auto; background-color:transparent; border:none;}
9999
textarea{font-weight:normal; font-size:17px; font-family: Arial, sans-serif; color:var(--text-color); overflow-y:auto; -webkit-overflow-scrolling:touch; resize:none; border-radius:0; -webkit-tap-highlight-color:rgba(0,0,0,0);}
100100
textarea:focus{outline:none;}
101-
#sub-panel{display:flex; flex-direction:row; justify-content:space-between; align-items:center; height:45px; overflow:hidden; background-color:var(--sub-panel-background-color); text-align:center; cursor:default;}
101+
#sub-panel{display:flex; flex-direction:row; justify-content:space-between; align-items:center; height:45px; overflow:hidden; background-color2:var(--sub-panel-background-color); text-align:center; cursor:default;}
102102

103103
/* Settings */
104104
#settings{display:none; width:100%; height:100%;}
@@ -145,7 +145,7 @@
145145
.hide-btn img{opacity:0; cursor:default;}
146146
}
147147
</style>
148-
<script type="text/javascript" src="cordova.js"></script>
148+
<!--<script type="text/javascript" src="cordova.js"></script>-->
149149
<script type="text/javascript">
150150
let FirstRun = false;
151151
let DeviceID;
@@ -182,7 +182,7 @@
182182
let IDS_NEW_NOTE = 'New note';
183183
let IDS_NOTES = 'Notes';
184184

185-
// Настройки для Android
185+
// Настройки
186186
let IDS_SETTINGS = 'Settings';
187187
let IDS_SYNC_ADDRESS = 'IP or domain';
188188
let IDS_SYNC_PORT = 'Port';
@@ -219,7 +219,7 @@
219219
IDS_NEW_NOTE = 'Новая заметка';
220220
IDS_NOTES = 'Заметки';
221221

222-
// Настройки для Android
222+
// Настройки
223223
IDS_SETTINGS = 'Настройки';
224224
IDS_SYNC_ADDRESS = 'IP или домен';
225225
IDS_SYNC_PORT = 'Порт';
@@ -693,7 +693,7 @@
693693
});
694694
}
695695

696-
function ShowApp(){
696+
/*function ShowApp(){ // Cordova QR
697697
document.getElementById('wrapper').style.display = 'block';
698698
document.getElementById('panel-qr').style.display = 'none';
699699
if (UsedDarkTheme) // Трюк с сохранением текущего цвета не работает из-за css тёмной темы
@@ -708,7 +708,7 @@
708708
document.body.style.backgroundColor = 'transparent';
709709
}
710710
711-
/*function QR() // Cordova QR
711+
function QR()
712712
{
713713
function displayContents(err, text) {
714714
if (!err) {

0 commit comments

Comments
 (0)