1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

fix code format (#6365)

This commit is contained in:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -1,7 +1,7 @@
import deselectCurrent from 'toggle-selection';
function copy(text) {
let reselectPrevious, range, selection, mark, success = false;
let reselectPrevious; let range; let selection; let mark; let success = false;
try {
reselectPrevious = deselectCurrent();
@@ -19,7 +19,7 @@ function copy(text) {
const successful = document.execCommand('copy');
if (!successful) {
//console.log('copy command was unsuccessful');
// console.log('copy command was unsuccessful');
}
success = true;
} catch (err) {