Fix scroll performance for widget with huge content
This commit is contained in:
parent
97b17cf9ec
commit
ebcb0af56d
|
@ -530,7 +530,8 @@ Element.prototype._parseAttr = function(lines) {
|
|||
, j
|
||||
, c;
|
||||
|
||||
if (lines[0].attr === attr) {
|
||||
if (Array.isArray(lines.attr) && lines.attr.length > 0
|
||||
&& lines.attr[0] === attr) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue