mirror of
https://github.com/django/django.git
synced 2025-03-28 02:00:45 +00:00
[1.6.x] Removed erroneous trailing comma in OLMapWidget.js.
Backport of c5226eb72a from master
This commit is contained in:
parent
9334150ca4
commit
734e9ad232
@ -202,7 +202,7 @@ function MapWidget(options) {
|
|||||||
var defaults_style = {
|
var defaults_style = {
|
||||||
'fillColor': '#' + this.options.color,
|
'fillColor': '#' + this.options.color,
|
||||||
'fillOpacity': this.options.opacity,
|
'fillOpacity': this.options.opacity,
|
||||||
'strokeColor': '#' + this.options.color,
|
'strokeColor': '#' + this.options.color
|
||||||
};
|
};
|
||||||
if (this.options.geom_name == 'LineString') {
|
if (this.options.geom_name == 'LineString') {
|
||||||
defaults_style['strokeWidth'] = 3;
|
defaults_style['strokeWidth'] = 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user