[Pkg-javascript-commits] [leaflet] 85/301: Renamed Tooltip to Title

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:43 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 037048a6d08190a160a002fc04ddbf3510bc67a9
Author: Daniel <danielku15 at coderline.net>
Date:   Mon Sep 2 02:34:41 2013 +0200

    Renamed Tooltip to Title
---
 src/control/Control.Zoom.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/control/Control.Zoom.js b/src/control/Control.Zoom.js
index 656f545..43f2404 100644
--- a/src/control/Control.Zoom.js
+++ b/src/control/Control.Zoom.js
@@ -6,9 +6,9 @@ L.Control.Zoom = L.Control.extend({
 	options: {
 		position: 'topleft',
 		zoomInText: '+',
-		zoomInTooltip: 'Zoom in',
+		zoomInTitle: 'Zoom in',
 		zoomOutText: '-',
-		zoomOutTooltip: 'Zoom out'
+		zoomOutTitle: 'Zoom out'
 	},
 
 	onAdd: function (map) {
@@ -18,10 +18,10 @@ L.Control.Zoom = L.Control.extend({
 		this._map = map;
 
 		this._zoomInButton  = this._createButton(
-		        this.options.zoomInText, this.options.zoomInTooltip,
+		        this.options.zoomInText, this.options.zoomInTitle,
 		        zoomName + '-in',  container, this._zoomIn,  this);
 		this._zoomOutButton = this._createButton(
-		        this.options.zoomOutText, this.options.zoomOutTooltip,
+		        this.options.zoomOutText, this.options.zoomOutTitle,
 		        zoomName + '-out', container, this._zoomOut, this);
 
 		map.on('zoomend zoomlevelschange', this._updateDisabled, this);

-- 
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