Fix non-JS captcha on original post form, report form, etc.

This commit is contained in:
ccd0 2015-06-19 15:29:36 -07:00
parent 047ce3c471
commit f59720fc0c
3 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,9 @@
noscript div:first-child, noscript iframe { noscript > div, noscript > div > div {
height: 422px !important; height: 545px !important;
}
noscript > div > div > div:first-child, noscript iframe {
height: 423px !important;
}
:root:not(.js-enabled) #g-recaptcha {
height: auto;
} }

View File

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

View File

@ -1,5 +1,5 @@
Report = Report =
css: `<%= importCSS('noscript', 'report') %>` css: `<%= importCSS('noscript') %>`
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+)/