From 36ebb4f75ed2d6684c132ddbeb9a05ef015fbc90 Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Mon, 14 Sep 2009 19:57:49 +0000 Subject: [PATCH] jquery ajax: Misc rename --- src/ajax.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ajax.js b/src/ajax.js index c3927d154..4b2220521 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -524,11 +524,11 @@ jQuery.extend({ // Determines if an XMLHttpRequest returns NotModified httpNotModified: function( xhr, url ) { - var last_modified = xhr.getResponseHeader("Last-Modified"), + var lastModified = xhr.getResponseHeader("Last-Modified"), etag = xhr.getResponseHeader("Etag"); - if ( last_modified ) { - jQuery.lastModified[url] = last_modified; + if ( lastModified ) { + jQuery.lastModified[url] = lastModified; } if ( etag ) { -- 2.39.5