diff --git a/jquery.slimscroll.js b/jquery.slimscroll.js index 15062e0..0e13f5c 100644 --- a/jquery.slimscroll.js +++ b/jquery.slimscroll.js @@ -202,7 +202,7 @@ me.parent().append(rail); // make it draggable - if (o.railDraggable) + if (o.railDraggable && $.ui && typeof($.ui.draggable) == 'function') { bar.draggable({ axis: 'y',