mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fixed bug with setting curent cursor when clicked on menu item
This commit is contained in:
parent
6b6ee3606e
commit
7d331d38da
2 changed files with 9 additions and 1 deletions
|
|
@ -70,6 +70,9 @@ keyStop: function(e, opt) {
|
|||
|
||||
* Added ability to read gdrive key from config.
|
||||
|
||||
* Fixed bug with setting curent cursor when
|
||||
clicked on menu item.
|
||||
|
||||
|
||||
2012.12.12, Version 0.1.8
|
||||
|
||||
|
|
|
|||
|
|
@ -194,9 +194,14 @@ var CloudCommander, Util, DOM, $;
|
|||
* DOM tree
|
||||
*/
|
||||
document.onclick = function(pEvent){
|
||||
/* if clicked on menu item */
|
||||
var lClassName = pEvent.target.parentElement.className ;
|
||||
if(lClassName === 'context-menu-item')
|
||||
return;
|
||||
|
||||
if(pEvent && pEvent.x && pEvent.y){
|
||||
var lLayer = DOM.getById('context-menu-layer');
|
||||
if(lLayer){
|
||||
if(lLayer){
|
||||
var lStyle;
|
||||
|
||||
if(lLayer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue