1
Fork 0

Fixed problem with double arrows on navbar

This commit is contained in:
Jake Howard 2016-01-06 08:46:29 +00:00
parent 38a89a7dcb
commit f06030f17d

View file

@ -19,7 +19,7 @@ function flip_dropdowns(obj, direction) {
if (obj.hasClass('drop' + direction)) { return; } if (obj.hasClass('drop' + direction)) { return; }
var reverse = ((direction === 'up') ? 'down' : 'up'); var reverse = ((direction === 'up') ? 'down' : 'up');
obj.removeClass('drop' + reverse).addClass('drop' + direction); obj.removeClass('drop' + reverse).addClass('drop' + direction);
obj.prev().children().removeClass('ion-ios-arrow-' + reverse).addClass('ion-ios-arrow-' + direction); obj.prev().find('i').removeClass('ion-ios-arrow-' + reverse).addClass('ion-ios-arrow-' + direction);
} }
function position_navbar() { function position_navbar() {