Moved class="pagination" to child element and removed element
This commit is contained in:
parent
12d3c44480
commit
1bac324072
|
@ -1048,8 +1048,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||
{
|
||||
// Does a little before-after block for next/prev page
|
||||
if ($have_before || $have_after) {
|
||||
$this->elementStart('div', array('class' => 'pagination'));
|
||||
$this->elementStart('dl', null);
|
||||
$this->elementStart('dl', 'pagination');
|
||||
$this->element('dt', null, _('Pagination'));
|
||||
$this->elementStart('dd', null);
|
||||
$this->elementStart('ul', array('class' => 'nav'));
|
||||
|
@ -1074,7 +1073,6 @@ class Action extends HTMLOutputter // lawsuit
|
|||
$this->elementEnd('ul');
|
||||
$this->elementEnd('dd');
|
||||
$this->elementEnd('dl');
|
||||
$this->elementEnd('div');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -382,8 +382,7 @@ class FacebookAction extends Action
|
|||
{
|
||||
// Does a little before-after block for next/prev page
|
||||
if ($have_before || $have_after) {
|
||||
$this->elementStart('div', array('class' => 'pagination'));
|
||||
$this->elementStart('dl', null);
|
||||
$this->elementStart('dl', 'pagination');
|
||||
$this->element('dt', null, _('Pagination'));
|
||||
$this->elementStart('dd', null);
|
||||
$this->elementStart('ul', array('class' => 'nav'));
|
||||
|
@ -408,7 +407,6 @@ class FacebookAction extends Action
|
|||
$this->elementEnd('ul');
|
||||
$this->elementEnd('dd');
|
||||
$this->elementEnd('dl');
|
||||
$this->elementEnd('div');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -244,8 +244,7 @@ class FacebookhomeAction extends FacebookAction
|
|||
// XXX: Fix so this uses common_local_url() if possible.
|
||||
|
||||
if ($have_before || $have_after) {
|
||||
$this->elementStart('div', array('class' => 'pagination'));
|
||||
$this->elementStart('dl', null);
|
||||
$this->elementStart('dl', 'pagination');
|
||||
$this->element('dt', null, _('Pagination'));
|
||||
$this->elementStart('dd', null);
|
||||
$this->elementStart('ul', array('class' => 'nav'));
|
||||
|
@ -270,7 +269,6 @@ class FacebookhomeAction extends FacebookAction
|
|||
$this->elementEnd('ul');
|
||||
$this->elementEnd('dd');
|
||||
$this->elementEnd('dl');
|
||||
$this->elementEnd('div');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ jQuery(document).ready(function($){
|
|||
loadingImg : $('address .url')[0].href+'plugins/InfiniteScroll/ajax-loader.gif',
|
||||
text : "<em>Loading the next set of posts...</em>",
|
||||
donetext : "<em>Congratulations, you\'ve reached the end of the Internet.</em>",
|
||||
navSelector : "div.pagination",
|
||||
navSelector : ".pagination",
|
||||
contentSelector : "#notices_primary ol.notices",
|
||||
itemSelector : "#notices_primary ol.notices li"
|
||||
},function(){
|
||||
|
|
Loading…
Reference in New Issue
Block a user