fix for ie 7,8,9

This commit is contained in:
nazoking
2015-03-27 21:03:41 +09:00
parent 3e0a50926f
commit 41a6a29771
2 changed files with 11 additions and 1 deletions

View File

@@ -161,6 +161,7 @@ $(window).load(function(){
updateSourceLineNum();
return;
}
$(document.body).toggleClass('no-box-shadow',document.body.style.boxShadow===undefined);
$('.blame-action').addClass("active");
var base = $('<div class="blame">').css({height:pre.height()}).prependTo(pre.parents("td")[0]);
base.parents("div.container").addClass("blame-container");
@@ -195,7 +196,7 @@ $(window).load(function(){
.data('line', (i + 1))
.css({
"top" : p.top + 'px',
"min-height" : h+'px',
"min-height" : h+'px'
})
.append(sha)
.append($(blame.avatar).addClass('avatar').css({"float":"left"}))