1
0
Fork 0

the lib does not work properly with firefox, so the part of the lib is deactivated.

This commit is contained in:
gschwab 2014-02-25 13:55:01 +01:00
parent cd43b58d53
commit f0e19f8aaa
1 changed files with 4 additions and 1 deletions

View File

@ -220,7 +220,10 @@
}
$c.css( {top:pos.y+"px", left:pos.x+"px", position:"absolute",zIndex:9999} )[cmenu.showTransition](cmenu.showSpeed,((cmenu.showCallback)?function(){cmenu.showCallback.call(cmenu);}:null));
cmenu.shown=true;
$(document).one('click',null,function(){cmenu.hide()}); // Handle a single click to the document to hide the menu
/**
* Does not work properly with Firefox,
*/
// $(document).one('click',null,function(){cmenu.hide()}); // Handle a single click to the document to hide the menu
}
},