Merge pull request #2009 from fredj/zoom-no-name

Remove name attributes from the zoom buttons
This commit is contained in:
Frédéric Junod
2014-04-24 15:10:03 +02:00

View File

@@ -48,7 +48,6 @@ ol.control.Zoom = function(opt_options) {
}, zoomInTipLabel);
var inElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
'class': className + '-in ol-has-tooltip',
'name' : 'ZoomIn',
'type' : 'button'
}, tTipZoomIn, zoomInLabel);
@@ -70,7 +69,6 @@ ol.control.Zoom = function(opt_options) {
}, zoomOutTipLabel);
var outElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
'class': className + '-out ol-has-tooltip',
'name' : 'ZoomOut',
'type' : 'button'
}, tTipsZoomOut, zoomOutLabel);