Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -218,10 +218,10 @@ setCommentsList = function() {
|
||||
var refillTheExtraList = function(ev) {
|
||||
// var args = $.query.get(), total_pages = listTable.get_total_pages(), per_page = $('input[name=_per_page]', '#comments-form').val(), r;
|
||||
var args = $.query.get(), total_pages = $('.total-pages').text(), per_page = $('input[name=_per_page]', '#comments-form').val(), r;
|
||||
|
||||
|
||||
if (! args.paged)
|
||||
args.paged = 1;
|
||||
|
||||
|
||||
if (args.paged > total_pages) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -29,12 +29,12 @@ window.listTable = {
|
||||
$('select', context).each( function(){
|
||||
var options = $('option', this),
|
||||
anySelected = false;
|
||||
|
||||
|
||||
options.each( function(){
|
||||
this.selected = this.defaultSelected;
|
||||
anySelected = anySelected || this.defaultSelected;
|
||||
});
|
||||
|
||||
|
||||
// If no options are selected within a single-select dropdown,
|
||||
// select the first element by default.
|
||||
if ( ! this.multiple && ! anySelected )
|
||||
|
||||
Reference in New Issue
Block a user