Merge pull request #278 from elemoine/revert-camelize-removal

Revert camelize removal
This commit is contained in:
Éric Lemoine
2012-03-05 00:37:32 -08:00
12 changed files with 63 additions and 120 deletions

View File

@@ -493,14 +493,14 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
this.ovmap.zoomToMaxExtent();
// check extent rectangle border width
this.wComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'borderLeftWidth')) +
'border-left-width')) +
parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'borderRightWidth'));
'border-right-width'));
this.wComp = (this.wComp) ? this.wComp : 2;
this.hComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'border-top-width')) +
parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'borderBottomWidth'));
'border-bottom-width'));
this.hComp = (this.hComp) ? this.hComp : 2;
this.handlers.drag = new OpenLayers.Handler.Drag(