Commit b058c017 by resurtm

Lift off!11 #418

parent 9002196c
...@@ -446,6 +446,9 @@ window.onload = function() { ...@@ -446,6 +446,9 @@ window.onload = function() {
}; };
var refreshCallStackItemCode = function(callStackItem) { var refreshCallStackItemCode = function(callStackItem) {
if (!Sizzle('pre', callStackItem)[0]) {
return;
}
var top = callStackItem.offsetTop - window.pageYOffset, var top = callStackItem.offsetTop - window.pageYOffset,
lines = Sizzle('pre', callStackItem)[0].getClientRects(), lines = Sizzle('pre', callStackItem)[0].getClientRects(),
lineNumbers = Sizzle('.lines-item', callStackItem), lineNumbers = Sizzle('.lines-item', callStackItem),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment