mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fix thirdparty library jquery-cookie referencing $ outside a closure, which wont work in noConflict mode
This commit is contained in:
parent
04e5ff09ca
commit
8177c93c92
2
thirdparty/jquery-cookie/jquery.cookie.js
vendored
2
thirdparty/jquery-cookie/jquery.cookie.js
vendored
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user