mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
refactor(listeners) changeLinks: ai -> lLi
This commit is contained in:
parent
ef6f0de633
commit
8b5281130f
1 changed files with 2 additions and 3 deletions
|
|
@ -190,11 +190,10 @@ var Util, DOM, CloudCmd;
|
|||
else {
|
||||
Events.add({
|
||||
'mousedown' : lSetCurrentFile_f,
|
||||
'contextmenu' : lOnContextMenu_f
|
||||
'contextmenu' : lOnContextMenu_f,
|
||||
'dragstart' : lOnDragStart_f
|
||||
}, lLi);
|
||||
|
||||
Events.add('dragstart', lOnDragStart_f, ai);
|
||||
|
||||
/* если ссылка на папку, а не файл */
|
||||
if (ai.target === '_blank')
|
||||
Events.add({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue