Sfoglia il codice sorgente

Removed cookie code that is not in use.

Thanks to xet7 !
Lauri Ojansivu 4 anni fa
parent
commit
3c406d955e
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      client/lib/utils.js

+ 0 - 2
client/lib/utils.js

@@ -195,8 +195,6 @@ Utils = {
     const currentUser = Meteor.user();
     if (currentUser) {
       return (currentUser.profile || {}).showDesktopDragHandles;
-    } else if (cookies.has('showDesktopDragHandles')) {
-      return true;
     } else {
       return false;
     }