Permalink
Browse files

Fix: Looser test for IE to pass. Different date format string

  • Loading branch information...
1 parent 4fef523 commit aec4505a8feb9777c1420345fd42b93d86c726e9 @DataTables committed Aug 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 media/unit_testing/tests_onhold/1_dom/fnCookieCallback.js
@@ -68,7 +68,7 @@ $(document).ready( function () {
"bDestroy": true,
"bStateSave": true,
"fnCookieCallback": function (sName, oData, sExpires, sPath) {
- mPass = sExpires.match(/GMT/);
+ mPass = typeof sExpires == 'string';
return sName + "=; expires=" + sExpires +"; path=" + sPath;
}
} );

0 comments on commit aec4505

Please sign in to comment.