mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-05 02:45:28 +00:00
fix(welcome): rotate startup tips
This commit is contained in:
parent
25c9e735ef
commit
bc78e312c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1005,7 +1005,7 @@
|
|||
var tips = mobile ? phone : desktop;
|
||||
var el = document.getElementById('welcome-tip');
|
||||
if (el) {
|
||||
el.textContent = 'Pick a model if you want, or just type.';
|
||||
el.textContent = tips[Math.floor(Math.random() * tips.length)];
|
||||
}
|
||||
fetch('/api/version').then(function(r){return r.json()}).then(function(d){
|
||||
if (d.version) window._appVersion = d.version;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue