[Libreoffice-commits] online.git: loleaflet/src

Tor Lillqvist tml at collabora.com
Thu Dec 15 13:05:13 UTC 2016


 loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba765ddeba0f76b20972fe957bee4fa7b64d9d60
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Dec 15 15:04:19 2016 +0200

    Fix accidentally pushed local debugging change, 1 instead of 10 min
    
    Change-Id: I6b4fc6bff76d83442b17ee6ebf6c8fa718b80684

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index c22a9df..5e6665a 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -813,7 +813,7 @@ L.Map = L.Evented.extend({
 
 	_dimIfInactive: function () {
 		console.debug('_dimIfInactive: diff=' + (Date.now() - this.lastActiveTime));
-		if ((Date.now() - this.lastActiveTime) >= 1 * 60 * 1000) { // Dim 10 minutes after last user activity
+		if ((Date.now() - this.lastActiveTime) >= 10 * 60 * 1000) { // Dim 10 minutes after last user activity
 			this._dim();
 		} else {
 			this._startInactiveTimer();


More information about the Libreoffice-commits mailing list