Skip to content

Commit b2de2a9

Browse files
committed
Added a minor code unification tweak
1 parent 40cf5eb commit b2de2a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ <h3>Beállítások</h3>
211211
</div>
212212
<div class="toast-body">
213213
Elérhető a huroutes alkalmazás új verziója!
214-
<a class="download-app" target="_blank">Innen töltheted le</a> a telepítőjét.
214+
<a href="#" target="_blank">Innen töltheted le</a> a telepítőjét.
215215
Letöltés után kézzel szükséges indítani a fájlt a frissítéshez.
216216
</div>
217217
</div>

res/huroutes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ function initAdToast()
11651165
if (ver.localeCompare(appVer, undefined, { numeric: true, sensitivity: 'base' }) == 1)
11661166
{
11671167
var androidToast = $('#toast-app-update');
1168-
androidToast.find('.download-app').attr('href', url);
1168+
androidToast.find('a[href]').attr('href', url);
11691169
androidToast.toast('show');
11701170
}
11711171
}

0 commit comments

Comments
 (0)