|
|
@ -451,8 +451,13 @@ function rcube_elastic_ui()
|
|
|
|
|
|
|
|
|
|
|
|
// https://github.com/roundcube/elastic/issues/45
|
|
|
|
// https://github.com/roundcube/elastic/issues/45
|
|
|
|
// Draggable blocks scrolling on touch devices, we'll disable it there
|
|
|
|
// Draggable blocks scrolling on touch devices, we'll disable it there
|
|
|
|
if (touch && rcmail[list] && typeof rcmail[list].draggable == 'function') {
|
|
|
|
if (touch && rcmail[list]) {
|
|
|
|
rcmail[list].draggable('destroy');
|
|
|
|
if (typeof rcmail[list].draggable == 'function') {
|
|
|
|
|
|
|
|
rcmail[list].draggable('destroy');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (typeof rcmail[list].draggable == 'boolean') {
|
|
|
|
|
|
|
|
rcmail[list].draggable = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|