Fix welcome message on Safari (for real this time)

This commit is contained in:
SillyLossy
2023-05-29 22:55:40 +03:00
parent 17d56280ec
commit 76eca6abc2
2 changed files with 36 additions and 40 deletions

View File

@ -332,42 +332,42 @@ const system_messages = {
is_user: false, is_user: false,
is_name: true, is_name: true,
mes: [ mes: [
`<h2>Welcome to <span id="version_display_welcome">SillyTavern</span>!</h2> '<h2>Welcome to <span id="version_display_welcome">SillyTavern</span>!</h2>',
<div id="version_display_welcome"></div> '<div id="version_display_welcome"></div>',
<h3>Want to Update to the latest version?</h3> '<h3>Want to Update to the latest version?</h3>',
Read the <a href='/notes/update.html' target='_blank'>instructions here</a>. Also located in your installation's base folder "Read the <a href='/notes/update.html' target='_blank'>instructions here</a>. Also located in your installation's base folder",
<hr> '<hr>',
<h3>In order to begin chatting:</h3> '<h3>In order to begin chatting:</h3>',
<ol> '<ol>',
<li>Connect to one of the supported generation APIs (the plug icon)</li> '<li>Connect to one of the supported generation APIs (the plug icon)</li>',
<li>Create or pick a character from the list (the top-right namecard icon)</li> '<li>Create or pick a character from the list (the top-right namecard icon)</li>',
</ol> '</ol>',
<hr> '<hr>',
<h3>Where to download more characters?</h3> '<h3>Where to download more characters?</h3>',
<i>(Not endorsed, your discretion is advised)</i> '<i>(Not endorsed, your discretion is advised)</i>',
<ol> '<ol>',
<li><a target="_blank" href="https://discord.gg/pygmalionai">Pygmalion AI Discord</a></li> '<li><a target="_blank" href="https://discord.gg/pygmalionai">Pygmalion AI Discord</a></li>',
<li><a target="_blank" href="https://www.characterhub.org/">CharacterHub (NSFW)</a></li> '<li><a target="_blank" href="https://www.characterhub.org/">CharacterHub (NSFW)</a></li>',
</ol> '</ol>',
<hr> '<hr>',
<h3>Where can I get help?</h3> '<h3>Where can I get help?</h3>',
Before going any further, check out the following resources: 'Before going any further, check out the following resources:',
<ol> '<ol>',
<li><a target="_blank" href="/notes/readme.md">Introduction to SillyTavern</a></li> '<li><a target="_blank" href="/notes/readme.md">Introduction to SillyTavern</a></li>',
<li><a target="_blank" href="/notes/faq.md">SillyTavern FAQ</a></li> '<li><a target="_blank" href="/notes/faq.md">SillyTavern FAQ</a></li>',
<li><a target="_blank" href="/notes">SillyTavern Guidebook</a></li> '<li><a target="_blank" href="/notes">SillyTavern Guidebook</a></li>',
<li><a target="_blank" href="https://github.com/Cohee1207/TavernAI-extras/blob/main/README.md">Extras API Docs</a></li> '<li><a target="_blank" href="https://github.com/Cohee1207/TavernAI-extras/blob/main/README.md">Extras API Docs</a></li>',
<li><a target="_blank" href="https://docs.alpindale.dev/">Pygmalion AI Docs</a></li> '<li><a target="_blank" href="https://docs.alpindale.dev/">Pygmalion AI Docs</a></li>',
</ol> '</ol>',
Type <tt>/?</tt> in any chat to get help on message formatting commands. 'Type <tt>/?</tt> in any chat to get help on message formatting commands.',
<hr> '<hr>',
<h3>Still have questions or suggestions left?</h3> '<h3>Still have questions or suggestions left?</h3>',
<a target="_blank" href="https://discord.gg/RZdyAEUPvj">SillyTavern Community Discord</a> '<a target="_blank" href="https://discord.gg/RZdyAEUPvj">SillyTavern Community Discord</a>',
<br> '<br>',
<a target="_blank" href="https://github.com/Cohee1207/SillyTavern/issues">Post a GitHub issue.</a> '<a target="_blank" href="https://github.com/Cohee1207/SillyTavern/issues">Post a GitHub issue.</a>',
<br> '<br>',
<a target="_blank" href="https://github.com/Cohee1207/SillyTavern#questions-or-suggestions">Contact the developers.</a> '<a target="_blank" href="https://github.com/Cohee1207/SillyTavern#questions-or-suggestions">Contact the developers.</a>',
`].join('') ].join('')
}, },
group: { group: {
name: systemUserName, name: systemUserName,

View File

@ -837,10 +837,6 @@ body.big-avatars .avatar img {
br { br {
display: block; display: block;
margin: 2px 0; margin: 2px 0;
line-height: 0;
height: 0;
padding: 0;
content: '';
} }
textarea { textarea {