[Python-checkins] r88849 - tracker/instances/python-dev/html/issue.item.js
ezio.melotti
python-checkins at python.org
Wed Jun 1 20:54:29 CEST 2011
Author: ezio.melotti
Date: Wed Jun 1 20:54:29 2011
New Revision: 88849
Log:
Limit the scroll to the y axis.
Modified:
tracker/instances/python-dev/html/issue.item.js
Modified: tracker/instances/python-dev/html/issue.item.js
==============================================================================
--- tracker/instances/python-dev/html/issue.item.js (original)
+++ tracker/instances/python-dev/html/issue.item.js Wed Jun 1 20:54:29 2011
@@ -55,7 +55,7 @@
if ((event.keyCode == 35) && (node != 'TEXTAREA')
&& (node != 'INPUT') && (node != 'SELECT')) {
// jump at the last message and restore the usual behavior
- window.scrollTo(offset.left, offset.top);
+ window.scrollTo(0, offset.top);
$(document).unbind('keydown')
return false;
}
More information about the Python-checkins
mailing list