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=sidebyside;hp=68e3752fe0a0eadd1008613b7b2ab67d9459aac8 fix drag --- 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);