From: Radek Czajka Date: Mon, 30 Aug 2010 08:25:53 +0000 (+0200) Subject: fix drag X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4cd89c7304fb432da17b5fbbd352de666ff49a33?ds=inline;hp=-c fix drag --- 4cd89c7304fb432da17b5fbbd352de666ff49a33 diff --git a/wolnelektury/static/js/catalogue.js b/wolnelektury/static/js/catalogue.js index 3057e152a..31bad6eac 100644 --- a/wolnelektury/static/js/catalogue.js +++ b/wolnelektury/static/js/catalogue.js @@ -451,6 +451,7 @@ function serverTime() { $(this).trigger('stop'); }).mouseout(function () { $(this).trigger('start'); + $(this).data('drag', false); }).mousemove(function (event) { if ($(this).data('drag') == true) { this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);