Testing Control.js.

This commit is contained in:
ahocevar
2012-06-26 00:18:29 +02:00
parent 56542de1f3
commit b7c8486289
3 changed files with 36 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ ol.control.Control.prototype.activate = function() {
*/
ol.control.Control.prototype.deactivate = function() {
var returnValue = this.active_;
this.active_ = true;
this.active_ = false;
return returnValue;
};