mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-23 09:45:46 +03:00
Allow double-click to refresh on Notifications page
This commit is contained in:
parent
14b92f3f98
commit
dab0d61ac8
1 changed files with 5 additions and 0 deletions
|
@ -285,6 +285,11 @@ function Notifications({ columnMode }) {
|
|||
scrollableRef.current?.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
}
|
||||
}}
|
||||
onDblClick={(e) => {
|
||||
if (!e.target.closest('a, button')) {
|
||||
loadNotifications(true);
|
||||
}
|
||||
}}
|
||||
class={uiState === 'loading' ? 'loading' : ''}
|
||||
>
|
||||
<div class="header-grid">
|
||||
|
|
Loading…
Reference in a new issue