migrate to a non-deprecated (and dependency-free) cookie library
This commit is contained in:
@ -201,11 +201,11 @@ var Tagger = {
|
||||
x = xy[0];
|
||||
y = xy[1];
|
||||
}
|
||||
setCookie(config.title+"_tagger-position",x+" "+y,14);
|
||||
Cookies.set(config.title+"_tagger-position", x+" "+y, {expires: 14});
|
||||
},
|
||||
|
||||
load : function () {
|
||||
var p = getCookie(config.title+"_tagger-position");
|
||||
var p = Cookies.get(config.title+"_tagger-position");
|
||||
if(p) {
|
||||
var xy = p.split(" ");
|
||||
this.set(xy[0],xy[1]);
|
||||
|
Reference in New Issue
Block a user