Merge pull request #5200 from bartvde/issue-5199

Fix typo in rotate control for css classList
This commit is contained in:
Bart van den Eijnden
2016-04-08 11:01:09 +02:00

View File

@@ -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';