-/* vim: set ts=4 tw=4 sw=4 noet: */
+/* vim: set ts=4 tw=0 sw=4 noet: */
function updateRowsPerPage() {
var pos;
var found = false;
var rowsPerPage = document.getElementById("rows");
- if (rowsPerPage.length < 1) {
- return;
+ if (rowsPerPage.value == '') {
+ rowsPerPage.value = '20';
}
for (var i = 0; i < link.length; i++) {
url = link[i].href;