Commit f1ed908b authored by Thierry BUGEAT's avatar Thierry BUGEAT

#53 Gestures: Remove usage of 'navigator.onLine'

parent 381d0c42
......@@ -75,7 +75,7 @@ function _swipe(_element, callback) {
if (myGesture._id == 'feeds-entries-scroll') {
if ((myGesture._scrollTop) && (myGesture._direction == "down")) {
if (navigator.onLine) {
if (liveValues.network.status == 'online') {
ui._loading(1);
sync.classList.add("rotation");
myGesture._action = 'sync';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment