Use correct header height for scrolling back up.

This commit is contained in:
Franz Liedke
2014-01-18 15:08:39 +01:00
parent fd469f86dc
commit b575a80c0b
+1 -1
View File
@@ -5,7 +5,7 @@ Zepto(function($) {
var $activeLine = $('.frames-container .active');
var $activeFrame = $('.active[id^="frame-code-"]').show();
var $container = $('.details-container');
var headerHeight = $('header').css('height');
var headerHeight = $('header').height();
var highlightCurrentLine = function() {
// Highlight the active and neighboring lines for this frame: