fix drag
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 30 Aug 2010 08:25:53 +0000 (10:25 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 30 Aug 2010 08:25:53 +0000 (10:25 +0200)
wolnelektury/static/js/catalogue.js

index 3057e15..31bad6e 100644 (file)
@@ -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);