Merge pull request #5200 from bartvde/issue-5199
Fix typo in rotate control for css classList
This commit is contained in:
@@ -40,7 +40,7 @@ ol.control.Rotate = function(opt_options) {
|
||||
'ol-compass', label);
|
||||
} else {
|
||||
this.label_ = label;
|
||||
this.label_.classList.add(this.label_, 'ol-compass');
|
||||
this.label_.classList.add('ol-compass');
|
||||
}
|
||||
|
||||
var tipLabel = options.tipLabel ? options.tipLabel : 'Reset rotation';
|
||||
|
||||
Reference in New Issue
Block a user