Remove #fedilove from all messages? + Small few improvements:
* Redirect to / when logged out * Replace #fedilove on all messages to nothing * Improve buttons by default
This commit is contained in:
parent
c1cb2f212e
commit
7f5af52e20
|
@ -84,7 +84,7 @@ export async function logOutOfInstance (instanceName, message) {
|
|||
const { enableGrayscale } = store.get()
|
||||
switchToTheme(instanceThemes[newInstance], enableGrayscale)
|
||||
/* no await */ database.clearDatabaseForInstance(instanceName)
|
||||
goto('/settings/instances')
|
||||
window.location.href = '/';
|
||||
}
|
||||
|
||||
function setStoreVerifyCredentials (instanceName, thisVerifyCredentials) {
|
||||
|
|
|
@ -3,6 +3,7 @@ import { massageStatusPlainText } from './massageStatusPlainText'
|
|||
|
||||
export function massageUserText (text, emojis, $autoplayGifs) {
|
||||
text = text || ''
|
||||
text = text.replace(/<a[^<>]+>.*?#.*?>fedilove<.*?<\/a>/gi, '');
|
||||
text = emojifyText(text, emojis, $autoplayGifs)
|
||||
text = massageStatusPlainText(text)
|
||||
return text
|
||||
|
|
|
@ -87,6 +87,16 @@ nav#main-nav > ul.main-nav-ul {
|
|||
|
||||
}
|
||||
|
||||
div.modal-dialog {
|
||||
div.close-dialog-button-wrapper {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
div.main-content { background: var(--main-bg); }
|
||||
div.no-script { display: none; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue