Skip to content

Commit

Permalink
Collapse buttons a little sooner
Browse files Browse the repository at this point in the history
Former calculations we're off a little bit and could lead to display
errors in gray areas.
  • Loading branch information
LFDM committed Jul 4, 2014
1 parent 4fa28ea commit 394c471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/arethusa.core/directives/navbar_buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ angular.module('arethusa.core').directive('navbarButtons', function() {
replace: true,
link: function(scope, element, attrs) {
scope.$watch('windowWidth', function(newVal, oldVal) {
var coll = newVal > 780 ? '' : '_collapsed';
var coll = newVal > 800 ? '' : '_collapsed';
scope.bTemplate = 'templates/arethusa.core/navbar_buttons' + coll + '.html';
});
},
Expand Down

0 comments on commit 394c471

Please sign in to comment.