BUGFIX: Fix thirdparty library jquery-cookie referencing $ outside a closure, which wont work in noConflict mode

This commit is contained in:
Hamish Friedlander 2012-06-14 12:11:11 +12:00 committed by Ingo Schommer
parent 04e5ff09ca
commit 8177c93c92
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ jQuery.cookie = function(name, value, options) {
options = options || {};
if (value === null) {
value = '';
options = $.extend({}, options); // clone object since it's unexpected behavior if the expired property were changed
options = jQuery.extend({}, options); // clone object since it's unexpected behavior if the expired property were changed
options.expires = -1;
}
var expires = '';