Use importCSS in Report.coffee.

This commit is contained in:
ccd0 2015-06-16 10:07:06 -07:00
parent 5738cd49fb
commit efa80d5a3b
2 changed files with 4 additions and 5 deletions

View File

@ -0,0 +1,3 @@
:root:not(.js-enabled) #g-recaptcha {
height: auto;
}

View File

@ -1,9 +1,5 @@
Report =
css: '''
:root:not(.js-enabled) #g-recaptcha {
height: auto;
}
'''
css: `<%= importCSS('report') %>`
init: ->
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/