fix ie9 gutter bug #739

This commit is contained in:
nightwing 2012-05-08 23:01:43 +04:00
commit d1c125fb56

View file

@ -451,6 +451,10 @@ var VirtualRenderer = function(container, theme) {
this.$highlightGutterLine = false;
this.setHighlightGutterLine = function(shouldHighlight) {
// adding this element to gutter causes strange behavior on ie
if (useragent.isIE)
return;
if (this.$highlightGutterLine == shouldHighlight)
return;
this.$highlightGutterLine = shouldHighlight;