avoid useless deref
This commit is contained in:
@@ -253,7 +253,7 @@ OpenLayers.Control.Panel = OpenLayers.Class(OpenLayers.Control, {
|
||||
if (control.title != "") {
|
||||
element.title = control.title;
|
||||
}
|
||||
controls[i].panel_div = element;
|
||||
control.panel_div = element;
|
||||
}
|
||||
|
||||
if (this.map) { // map.addControl() has already been called on the panel
|
||||
|
||||
Reference in New Issue
Block a user