[Pkg-javascript-commits] [leaflet] 149/301: Fixing long line
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit 0574301113315319eb23a1e7dcb1b426a5dd950c
Author: Trevor Powell <trevor.w.powell at gmail.com>
Date: Thu Oct 24 13:34:17 2013 -0500
Fixing long line
---
src/map/handler/Map.TouchZoom.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/map/handler/Map.TouchZoom.js b/src/map/handler/Map.TouchZoom.js
index 5671bc6..7f9ea66 100644
--- a/src/map/handler/Map.TouchZoom.js
+++ b/src/map/handler/Map.TouchZoom.js
@@ -58,7 +58,8 @@ L.Map.TouchZoom = L.Handler.extend({
if (this._scale === 1) { return; }
if (!map.options.bounceAtZoomLimits) {
- if ((map.getZoom() === map.getMinZoom() && this._scale < 1) || (map.getZoom() === map.getMaxZoom() && this._scale > 1)) { return; }
+ if ((map.getZoom() === map.getMinZoom() && this._scale < 1) ||
+ (map.getZoom() === map.getMaxZoom() && this._scale > 1)) { return; }
}
if (!this._moved) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list