Skip to content

Commit

Permalink
use innerHTML and value instead of jQuery .html and .val
Browse files Browse the repository at this point in the history
  • Loading branch information
camallen committed Aug 26, 2014
1 parent 66b288c commit ba10ffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/pager/jquery.tablesorter.pager.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
t += '<option>' + i + '</option>';
(large_collection) ? i = i+skip_set_size : i++;
}
p.$goto.html(t).val( p.page + 1 );
p.$goto[0].innerHTML = t;
p.$goto[0].value = p.page + 1;
}
// rebind startRow/page inputs
$out.find('.ts-startRow, .ts-page').unbind('change').bind('change', function(){
Expand Down

0 comments on commit ba10ffb

Please sign in to comment.