aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/fixmystreet.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-03 14:16:34 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-03 14:16:34 +0100
commitbba75fb159fe919864b1e37f322c5d53eb134d76 (patch)
treebdfdd443a23c66ceaa8a5e962fa5c3d146111d4f /web/js/fixmystreet.js
parentd8567ba358c2a67ef766a8fe1e9614c351578fbe (diff)
remove redundant p tags and make heading into a heading
Diffstat (limited to 'web/js/fixmystreet.js')
-rw-r--r--web/js/fixmystreet.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js
index ad3ff7c4d..4bedaa7cb 100644
--- a/web/js/fixmystreet.js
+++ b/web/js/fixmystreet.js
@@ -62,7 +62,7 @@ $(function(){
$('#category_meta').empty();
if ( category_extras[this.options[ this.selectedIndex ].text] ) {
fields = category_extras[this.options[ this.selectedIndex ].text];
- $('<p>Additional information</p>').appendTo('#category_meta');
+ $('<h4>Additional information</h4>').appendTo('#category_meta');
fields.sort( function(a,b) { return a.order - b.order } );
for ( i in fields) {
meta = fields[i];
@@ -70,7 +70,7 @@ $(function(){
field += '<label for="form_' + meta.code + '">' + meta.description + ':</label>';
field += '<input type="text" value="" name="' + meta.code + '" id="form_' + meta.code + '">';
field += '</div>';
- $('<p>' + field + '</p>').appendTo('#category_meta');
+ $( field ).appendTo('#category_meta');
}
}
}