Merge pull request #2009 from fredj/zoom-no-name
Remove name attributes from the zoom buttons
This commit is contained in:
@@ -48,7 +48,6 @@ ol.control.Zoom = function(opt_options) {
|
|||||||
}, zoomInTipLabel);
|
}, zoomInTipLabel);
|
||||||
var inElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
|
var inElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
|
||||||
'class': className + '-in ol-has-tooltip',
|
'class': className + '-in ol-has-tooltip',
|
||||||
'name' : 'ZoomIn',
|
|
||||||
'type' : 'button'
|
'type' : 'button'
|
||||||
}, tTipZoomIn, zoomInLabel);
|
}, tTipZoomIn, zoomInLabel);
|
||||||
|
|
||||||
@@ -70,7 +69,6 @@ ol.control.Zoom = function(opt_options) {
|
|||||||
}, zoomOutTipLabel);
|
}, zoomOutTipLabel);
|
||||||
var outElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
|
var outElement = goog.dom.createDom(goog.dom.TagName.BUTTON, {
|
||||||
'class': className + '-out ol-has-tooltip',
|
'class': className + '-out ol-has-tooltip',
|
||||||
'name' : 'ZoomOut',
|
|
||||||
'type' : 'button'
|
'type' : 'button'
|
||||||
}, tTipsZoomOut, zoomOutLabel);
|
}, tTipsZoomOut, zoomOutLabel);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user