diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index 0ce3151cc..1c661438d 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -451,8 +451,13 @@ function rcube_elastic_ui() // https://github.com/roundcube/elastic/issues/45 // Draggable blocks scrolling on touch devices, we'll disable it there - if (touch && rcmail[list] && typeof rcmail[list].draggable == 'function') { - rcmail[list].draggable('destroy'); + if (touch && rcmail[list]) { + if (typeof rcmail[list].draggable == 'function') { + rcmail[list].draggable('destroy'); + } + else if (typeof rcmail[list].draggable == 'boolean') { + rcmail[list].draggable = false; + } } });