v3: remove unused code

This commit is contained in:
Matteo Pagliazzi
2016-05-18 17:28:33 +02:00
parent ae26713dd9
commit 163b5b4ac3
2 changed files with 1 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
var user = User.user;
var initSticky = _.once(function(){
console.log('here', User.user.preferences.stickyHeader);
if (window.env.IS_MOBILE || User.user.preferences.stickyHeader === false) return;
$('.header-wrap').sticky({topSpacing:0});
})