From 8462bfdca7ce5afbf577cda3e3f02c7ddcda7fc1 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Wed, 31 Oct 2012 17:40:17 -0600 Subject: Fix this browser check --- usr/local/www/csrf/csrf-magic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/csrf/csrf-magic.js b/usr/local/www/csrf/csrf-magic.js index 243e37e..d776b6a 100644 --- a/usr/local/www/csrf/csrf-magic.js +++ b/usr/local/www/csrf/csrf-magic.js @@ -110,7 +110,7 @@ CsrfMagic.end = function() { // Sets things up for Mozilla/Opera/nice browsers // We very specifically match against Internet Explorer, since they haven't // implemented prototypes correctly yet. -if (window.XMLHttpRequest && window.XMLHttpRequest.prototype && '\v' != '\v') { +if (window.XMLHttpRequest && window.XMLHttpRequest.prototype && '\v' != 'v') { var x = XMLHttpRequest.prototype; var c = CsrfMagic.prototype; -- cgit v1.1