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:
Andrew Ozz 2009-04-05 08:34:51 +00:00
parent bd0313e3bc
commit 62faa2c130
2 changed files with 2 additions and 2 deletions

View File

@ -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