Another indexOf I missed.
This commit is contained in:
parent
dd4d979276
commit
d01c811fe2
@ -9364,7 +9364,7 @@
|
||||
|
||||
Report = {
|
||||
init: function() {
|
||||
if (!(/report/.test(location.search) && d.cookie.indexOf('pass_enabled=1') === -1)) {
|
||||
if (!(/report/.test(location.search) && !d.cookie.contains('pass_enabled=1'))) {
|
||||
return;
|
||||
}
|
||||
return $.asap((function() {
|
||||
|
||||
@ -9345,7 +9345,7 @@
|
||||
|
||||
Report = {
|
||||
init: function() {
|
||||
if (!(/report/.test(location.search) && d.cookie.indexOf('pass_enabled=1') === -1)) {
|
||||
if (!(/report/.test(location.search) && !d.cookie.contains('pass_enabled=1'))) {
|
||||
return;
|
||||
}
|
||||
return $.asap((function() {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Report =
|
||||
init: ->
|
||||
return unless /report/.test(location.search) and d.cookie.indexOf('pass_enabled=1') is -1
|
||||
return unless /report/.test(location.search) and not d.cookie.contains 'pass_enabled=1'
|
||||
$.asap (-> $.id 'recaptcha_response_field'), Report.ready
|
||||
ready: ->
|
||||
field = $.id 'recaptcha_response_field'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user