We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f6688 commit 49ddf5bCopy full SHA for 49ddf5b
web_src/js/components/ViewFileTreeItem.vue
@@ -37,7 +37,7 @@ const doLoadChildren = async () => {
37
};
38
39
const onItemClick = (e: MouseEvent) => {
40
- // only handle the click event with partial page reloading if
+ // only handle the click event with partial page reloading if either
41
// - the user didn't press any special key let browsers handle special keys like "Ctrl+Click"
42
// - the user doesn't edit the file (a full page reload shows a confirmation dialog if the editor or commit dialog have unsaved changes)
43
if (!isPlainClick(e) || props.store.pageIsEdit) return;
0 commit comments