Remove name attributes from the zoom buttons

This commit is contained in:
Frederic Junod
2014-04-24 14:45:14 +02:00
parent a46f8647f9
commit d00e515412

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