mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-09 06:58:41 -04:00
fix(welcome): rotate startup tips (#5871)
This commit is contained in:
+1
-1
@@ -1005,7 +1005,7 @@
|
|||||||
var tips = mobile ? phone : desktop;
|
var tips = mobile ? phone : desktop;
|
||||||
var el = document.getElementById('welcome-tip');
|
var el = document.getElementById('welcome-tip');
|
||||||
if (el) {
|
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){
|
fetch('/api/version').then(function(r){return r.json()}).then(function(d){
|
||||||
if (d.version) window._appVersion = d.version;
|
if (d.version) window._appVersion = d.version;
|
||||||
|
|||||||
Reference in New Issue
Block a user