Fix scroll performance for widget with huge content

This commit is contained in:
Kyle Fleming 2017-07-01 14:51:32 -07:00
parent 97b17cf9ec
commit ebcb0af56d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}