Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

jquery-ujs is does not work with strict mode #298

Closed
darend opened this Issue · 1 comment

2 participants

@darend

One of our projects uses strict mode and we found the following error when including jquery-ujs at line 423.

Uncaught ReferenceError: csrf_token is not defined
csrf_token = $('meta[name=csrf-token]').attr('content');

@neerajdotname
Collaborator

@darend Please reopen this ticket if the fix does not work for you. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.