forked from 0x2620/pandora
minor cleanup
This commit is contained in:
parent
2d074ec295
commit
b2abab4d46
1 changed files with 0 additions and 2 deletions
|
@ -276,13 +276,11 @@ pandora.enableDragAndDrop = function($list, canMove) {
|
||||||
if ($panel) {
|
if ($panel) {
|
||||||
title = $panel.children('.OxBar').children('.OxTitle')
|
title = $panel.children('.OxBar').children('.OxTitle')
|
||||||
.html().split(' ')[0].toLowerCase();
|
.html().split(' ')[0].toLowerCase();
|
||||||
// !pandora.user.ui.showFolder.items[title] && $bar.trigger('dblclick');
|
|
||||||
if (!pandora.user.ui.showFolder.items[title]) {
|
if (!pandora.user.ui.showFolder.items[title]) {
|
||||||
Ox.UI.elements[$panel.data('oxid')].options({collapsed: false});
|
Ox.UI.elements[$panel.data('oxid')].options({collapsed: false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!scrollInterval) {
|
if (!scrollInterval) {
|
||||||
//Ox.Log('', 'AT TOP', isAtListsTop(event), 'AT BOTTOM', isAtListsBottom(event))
|
|
||||||
scroll = isAtListsTop(event) ? -16
|
scroll = isAtListsTop(event) ? -16
|
||||||
: isAtListsBottom(event) ? 16 : 0
|
: isAtListsBottom(event) ? 16 : 0
|
||||||
if (scroll) {
|
if (scroll) {
|
||||||
|
|
Loading…
Reference in a new issue