#20 should be fixed but needs testing
This commit is contained in:
parent
bcbe51e9a7
commit
197e6f2f33
11
public/assets/scaffolding-min.js
vendored
11
public/assets/scaffolding-min.js
vendored
@ -144,8 +144,8 @@ module.exports = {
|
||||
}
|
||||
return "";
|
||||
},
|
||||
remove: function remove(cnane) {
|
||||
setCookie(cname, "", -1);
|
||||
remove: function remove(cname) {
|
||||
module.exports.cookie.set(cname, "", -1);
|
||||
}
|
||||
},
|
||||
colour: {
|
||||
@ -174,9 +174,10 @@ module.exports = {
|
||||
});
|
||||
}
|
||||
},
|
||||
// getCSS: (el, prop, b = false) {
|
||||
// return window.getComputedStyle(el, null).getPropertyValue(prop);
|
||||
// },
|
||||
getCSS: function getCSS(el, prop) {
|
||||
var b = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
||||
return window.getComputedStyle(el, null).getPropertyValue(prop);
|
||||
},
|
||||
init: function init() {
|
||||
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
var url = getURLVars();
|
||||
|
@ -145,8 +145,8 @@ module.exports = {
|
||||
}
|
||||
return "";
|
||||
},
|
||||
remove: (cnane) => {
|
||||
setCookie(cname, "", -1);
|
||||
remove: (cname) => {
|
||||
module.exports.cookie.set(cname, "", -1);
|
||||
},
|
||||
},
|
||||
colour: {
|
||||
|
Loading…
Reference in New Issue
Block a user