randolph249 / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
0 stars 0 forks source link

pull-to-refresh/index.html on firefox don't work #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.run pull-to-refresh/index.html
2. scroll down
3.and scroll again to add "Generetred row"

What is the expected output? What do you see instead?
Generetred row 1,2,3 on chrome safari
FireFox blank

What version of the product are you using? On what operating system?
Mac FireFox 10.0.2

Please provide any additional information below.

probable this line does not add the content well:
   42: el.appendChild(li, el.childNodes[0]);

Original issue reported on code.google.com by gwmaster...@gmail.com on 23 Feb 2012 at 9:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
solution:

    change

41  li.innerText = 'Generated row ' + (++generatedCount);

 to
    li.textContent = 'Generated row ' + (++generatedCount);

Original comment by gwmaster...@gmail.com on 23 Feb 2012 at 10:13

GoogleCodeExporter commented 8 years ago
or use
innerHTML

Original comment by gwmaster...@gmail.com on 23 Feb 2012 at 10:24