Changeset 702 for trunk/forum/adm/style/simple_header.html
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/adm/style/simple_header.html
r400 r702 40 40 var page = prompt(jump_page, on_page); 41 41 42 if (page !== null && !isNaN(page) && page > 0)42 if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) 43 43 { 44 document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); 44 if (base_url.indexOf('?') == -1) 45 { 46 document.location.href = base_url + '?start=' + ((page - 1) * per_page); 47 } 48 else 49 { 50 document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); 51 } 45 52 } 46 53 }
Note:
See TracChangeset
for help on using the changeset viewer.