Skip to content

Commit

Permalink
bug #974599, rename the cookie 'delete' function to 'remove' to avoid…
Browse files Browse the repository at this point in the history
… reserve word usage

Change-Id: I1568e4c859d3f529b0efb9d945cc30f6ae3e24d1
  • Loading branch information
kewu21 committed May 21, 2012
1 parent 908997c commit 524d7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horizon/static/horizon/js/horizon.js
Expand Up @@ -64,7 +64,7 @@ var Horizon = function() {
data[key] = value;
horizon.cookies.write(cookie_name, data);
},
delete: function (cookie_name) {
remove: function (cookie_name) {
$.cookie("horizon." + cookie_name, null);
}
};
Expand Down

0 comments on commit 524d7ff

Please sign in to comment.