Skip to content

Commit

Permalink
Merge pull request jejacks0n#180 from nreckart/pr/panel-handle-span
Browse files Browse the repository at this point in the history
Correctly close the span element in the panel h1.
  • Loading branch information
Matthew Beale committed Mar 12, 2012
2 parents 275d0c7 + b591fe5 commit 30288c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/mercury/panel.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class @Mercury.Panel extends Mercury.Dialog

build: ->
@element = jQuery('<div>', {class: 'mercury-panel loading', style: 'display:none;'})
@titleElement = jQuery("<h1><span>#{Mercury.I18n(@options.title)}<span></h1>").appendTo(@element)
@titleElement = jQuery("<h1><span>#{Mercury.I18n(@options.title)}</span></h1>").appendTo(@element)
@paneElement = jQuery('<div>', {class: 'mercury-panel-pane'}).appendTo(@element)

if @options.closeButton
Expand Down

0 comments on commit 30288c6

Please sign in to comment.