Minor fix

This commit is contained in:
alekseybobkov 2014-09-07 12:59:08 -07:00
parent 9f4fa49068
commit 8c08b9ccbb
1 changed files with 2 additions and 2 deletions

View File

@ -115,9 +115,9 @@
}
SidePanelTab.prototype.updatePanelPosition = function() {
if (!this.panelFixed())
if (!this.panelFixed() || Modernizr.touch)
this.$el.height($(document).height() - this.mainNavHeight)
else
else
this.$el.css('height', '')
if (this.panelVisible && $(window).width() > this.options.breakpoint && this.panelFixed())