mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Make sure parseInt returns decimal
git-svn-id: https://develop.svn.wordpress.org/trunk@10873 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -119,7 +119,7 @@ $(document).ready(function(){columns.init();});
|
||||
screenOptions = {
|
||||
init : function() {
|
||||
$('.screen-per-page').change(function() {
|
||||
var option = this.id, value = parseInt($(this).val());
|
||||
var option = this.id, value = parseInt($(this).val(), 10);
|
||||
if ( isNaN(value) ) {
|
||||
$(this).val('');
|
||||
return;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user