mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -11,7 +11,7 @@ function copy(text) {
|
||||
// 'a' is for 'copy a link to seafile markdown editor'
|
||||
mark = document.createElement('a');
|
||||
mark.textContent = text;
|
||||
|
||||
|
||||
document.body.appendChild(mark);
|
||||
|
||||
range.selectNode(mark);
|
||||
|
Reference in New Issue
Block a user