mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Content layers aren't hidden while mouse is down on the scrollbar
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9162 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
db57e428cc
commit
85cc449e1d
1 changed files with 7 additions and 4 deletions
|
|
@ -361,10 +361,13 @@ $.fn.xeContentToggler = function(){
|
||||||
.unbind('mousedown.tc keydown.tc')
|
.unbind('mousedown.tc keydown.tc')
|
||||||
.bind('mousedown.tc keydown.tc',
|
.bind('mousedown.tc keydown.tc',
|
||||||
function(event){
|
function(event){
|
||||||
if(event && (
|
if(event) {
|
||||||
(event.type == 'keydown' && event.which != ESC) ||
|
if(event.type == 'keydown' && event.which != ESC) return true;
|
||||||
(event.type == 'mousedown' && ($(event.target).is('.tgAnchor,.tgContent') || $layer.has(event.target)[0]))
|
if(event.type == 'mousedown') {
|
||||||
)) return true;
|
var $t = $(event.target);
|
||||||
|
if($t.is('html,.tgAnchor,.tgContent') || $layer.has($t).length) return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$this.trigger('close.tc');
|
$this.trigger('close.tc');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue