Fix filter buttons when windows resizes fixes (partially) #7772 (#8258)

* Reloads the quest panel solving issue #7697

* Revert "Reloads the quest panel solving issue #7697"

This reverts commit 0d58fb0fd3.

* fix overlapping filter buttons when windows resizes

This fixes one of the two causes of issue #7772.
https://github.com/HabitRPG/habitica/issues/7772
This commit is contained in:
PowerlinxJetfire
2016-12-10 23:08:26 -05:00
committed by Keith Holliday
parent 45297f8bf9
commit 04337f8e83

View File

@@ -18,6 +18,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
$timeout(function () {
if (window.env.IS_MOBILE || User.user.preferences.stickyHeader === false) return;
$('.header-wrap').sticky({topSpacing:0});
$(window).resize(function() {$('.header-wrap').sticky('update');});
});
// Remove listener