mirror of
https://github.com/filp/whoops.git
synced 2026-09-13 03:06:20 +00:00
Use correct header height for scrolling back up.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user