Another indexOf I missed.
This commit is contained in:
parent
dd4d979276
commit
d01c811fe2
@ -9364,7 +9364,7 @@
|
|||||||
|
|
||||||
Report = {
|
Report = {
|
||||||
init: function() {
|
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;
|
||||||
}
|
}
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
|
|||||||
@ -9345,7 +9345,7 @@
|
|||||||
|
|
||||||
Report = {
|
Report = {
|
||||||
init: function() {
|
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;
|
||||||
}
|
}
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Report =
|
Report =
|
||||||
init: ->
|
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
|
$.asap (-> $.id 'recaptcha_response_field'), Report.ready
|
||||||
ready: ->
|
ready: ->
|
||||||
field = $.id 'recaptcha_response_field'
|
field = $.id 'recaptcha_response_field'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user