snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit e5eab64c6b8770e4b82d20469595b24c251a165d
parent dc1af5ae7b5a9d098afe02353a175fac8512888b
Author: Robin Linus <robin_woll@capira.de>
Date:   Sat, 19 Dec 2015 02:12:45 +0100

works nice

Diffstat:
Mapp/elements/buddy-finder/buddy-finder.html | 9+++++----
Mapp/elements/p2p-network/p2p-network.html | 1+
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app/elements/buddy-finder/buddy-finder.html b/app/elements/buddy-finder/buddy-finder.html @@ -59,11 +59,12 @@ </div> <user-avatar contact="{{me}}" class="me"></user-avatar> <svg class="circles" viewBox="-0.5 -0.5 1140 700"> - <circle class="circle" cx="570" cy="570" r="120" stroke="rgba(160,160,160,.4)"></circle> - <circle class="circle" cx="570" cy="570" r="210" stroke="rgba(160,160,160,.35)"></circle> + <circle class="circle" cx="570" cy="570" r="120" stroke="rgba(160,160,160,.15)"></circle> + <circle class="circle" cx="570" cy="570" r="210" stroke="rgba(160,160,160,.2)"></circle> <circle class="circle" cx="570" cy="570" r="300" stroke="rgba(160,160,160,.3)"></circle> - <circle class="circle" cx="570" cy="570" r="390" stroke="rgba(160,160,160,.2)"></circle> - <circle class="circle" cx="570" cy="570" r="480" stroke="rgba(160,160,160,.15)"></circle> + <circle class="circle" cx="570" cy="570" r="390" stroke="rgba(160,160,160,.35)"></circle> + <circle class="circle" cx="570" cy="570" r="480" stroke="rgba(160,160,160,.4)"></circle> + <circle class="circle" cx="570" cy="570" r="570" stroke="rgba(160,160,160,.43)"></circle> </svg> <iron-ajax id="ajax" auto url="https://yawim.com/findbuddies/{{me}}" handle-as="json" last-response="{{buddies}}"></iron-ajax> </template> diff --git a/app/elements/p2p-network/p2p-network.html b/app/elements/p2p-network/p2p-network.html @@ -95,6 +95,7 @@ } return function(requestedPeer, callback) { if (this._peer.connections[requestedPeer]) { + callback(); return; } this.set('loading', true);