mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Removed cookie code that is not in use.
Thanks to xet7 !
This commit is contained in:
parent
ea37dd5e1d
commit
3c406d955e
1 changed files with 0 additions and 2 deletions
|
|
@ -195,8 +195,6 @@ Utils = {
|
||||||
const currentUser = Meteor.user();
|
const currentUser = Meteor.user();
|
||||||
if (currentUser) {
|
if (currentUser) {
|
||||||
return (currentUser.profile || {}).showDesktopDragHandles;
|
return (currentUser.profile || {}).showDesktopDragHandles;
|
||||||
} else if (cookies.has('showDesktopDragHandles')) {
|
|
||||||
return true;
|
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue