chromakode / xkcdfools

xkcd CLI + jQuery terminal implementation
GNU General Public License v2.0
566 stars 116 forks source link

scrolling bug with recent jquery #27

Open scathaig opened 12 years ago

scathaig commented 12 years ago

xkcdfools uses jquery 1.4.2 which causes warning messages now in chrome ("event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.")

this issue is fixed in jquery 1.7 but when using this version scrolling does not work. this can be fixed by using ".prop('scrollHeight')" instead of ".attr('scrollHeight')" in line 243 and 387 of cli.js