Use importCSS in Report.coffee.
This commit is contained in:
parent
5738cd49fb
commit
efa80d5a3b
3
src/General/css/report.css
Normal file
3
src/General/css/report.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
:root:not(.js-enabled) #g-recaptcha {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
@ -1,9 +1,5 @@
|
|||||||
Report =
|
Report =
|
||||||
css: '''
|
css: `<%= importCSS('report') %>`
|
||||||
:root:not(.js-enabled) #g-recaptcha {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
'''
|
|
||||||
|
|
||||||
init: ->
|
init: ->
|
||||||
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/
|
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user