1(function($) { 2 3 function parentBackgroundColor (element) { 4 var current, color, background; 5 for (current = element; current.length; current = current.parent()) 6 { 7 color = current.css("background-color"); 8 if (color && color != "transparent") 9 { 10 return color; 11 } 12 } 13 return "#ffffff"; 14 } 15 16 $.fn.fixIEBackground = function () { 17 if ($.browser.msie && $.browser.version < "7") 18 { 19 return this.each(function () { 20 var obj = $(this), 21 color = parentBackgroundColor(obj); 22 obj.css("background-color", color); 23 }); 24 } 25 return this; 26 } 27 28})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.