ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [1/2] incubator-ponymail git commit: adjust swipe to work with the new open-email array
Date Mon, 05 Sep 2016 07:04:21 GMT
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 <humbedooh@apache.org>
Authored: Mon Sep 5 09:04:03 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
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'


Mime
View raw message