Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D8768200B7A for ; Mon, 5 Sep 2016 09:04:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D6ED1160ACB; Mon, 5 Sep 2016 07:04:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 28277160ABC for ; Mon, 5 Sep 2016 09:04:24 +0200 (CEST) Received: (qmail 20587 invoked by uid 500); 5 Sep 2016 07:04:23 -0000 Mailing-List: contact commits-help@ponymail.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ponymail.incubator.apache.org Delivered-To: mailing list commits@ponymail.incubator.apache.org Received: (qmail 20578 invoked by uid 99); 5 Sep 2016 07:04:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2016 07:04:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E169D1A01B9 for ; Mon, 5 Sep 2016 07:04:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Ql-90j3lP9X1 for ; Mon, 5 Sep 2016 07:04:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id E3B235F23A for ; Mon, 5 Sep 2016 07:04:21 +0000 (UTC) Received: (qmail 20562 invoked by uid 99); 5 Sep 2016 07:04:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2016 07:04:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 23541E35EB; Mon, 5 Sep 2016 07:04:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: humbedooh@apache.org To: commits@ponymail.incubator.apache.org Date: Mon, 05 Sep 2016 07:04:21 -0000 Message-Id: <54a5715eb3b040aeb97f3cb64524fed2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-ponymail git commit: adjust swipe to work with the new open-email array archived-at: Mon, 05 Sep 2016 07:04:25 -0000 Repository: incubator-ponymail Updated Branches: refs/heads/coffee-and-cake 44100e943 -> 50594ffa5 adjust swipe to work with the new open-email array Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/f2fe07c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/f2fe07c3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/f2fe07c3 Branch: refs/heads/coffee-and-cake Commit: f2fe07c3701dafe25eba7366b6cd883902e4aca3 Parents: 44100e9 Author: Daniel Gruno Authored: Mon Sep 5 09:04:03 2016 +0200 Committer: Daniel Gruno Committed: Mon Sep 5 09:04:03 2016 +0200 ---------------------------------------------------------------------- site/js/coffee/listview_basic.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f2fe07c3/site/js/coffee/listview_basic.coffee ---------------------------------------------------------------------- diff --git a/site/js/coffee/listview_basic.coffee b/site/js/coffee/listview_basic.coffee index adce8ee..a74323f 100644 --- a/site/js/coffee/listview_basic.coffee +++ b/site/js/coffee/listview_basic.coffee @@ -252,7 +252,7 @@ class BasicListView scrollBar = window.innerHeight < obj.bottom ### Abort swiping if an email is open or scrollbar is present ### - if ponymail_email_open or scrollBar + if ponymail_email_open.length > 0 or scrollBar return if direction == 'down'