mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
lol why need to keep checking the text
This commit is contained in:
parent
eb13fe8ce0
commit
bc3e946f61
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function TranslationBlock({
|
|||
}
|
||||
setTranslatedContent(content);
|
||||
setUIState('default');
|
||||
if (!mini) {
|
||||
if (!mini && content.trim() !== text.trim()) {
|
||||
detailsRef.current.open = true;
|
||||
detailsRef.current.scrollIntoView({
|
||||
behavior: 'smooth',
|
||||
|
|
Loading…
Reference in a new issue