Fix embarassing typo, part II.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -161,7 +161,7 @@ OpenLayers.Size.prototype = {
|
||||
var equals = false;
|
||||
if (sz != null) {
|
||||
equals = ((this.w == sz.w && this.h == sz.h) ||
|
||||
(isNaN(this.w) && isNaN(this.h) && isNaN(px.w) && isNaN(px.h)));
|
||||
(isNaN(this.w) && isNaN(this.h) && isNaN(sz.w) && isNaN(sz.h)));
|
||||
}
|
||||
return equals;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user