mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Fix QE for the last category, fixes #8077
git-svn-id: https://develop.svn.wordpress.org/trunk@9588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -69,7 +69,9 @@ inlineEditTax = {
|
||||
if ( pageOpt.length > 0 ) {
|
||||
var pageLevel = pageOpt[0].className.split('-')[1], nextPage = pageOpt, pageLoop = true;
|
||||
while ( pageLoop ) {
|
||||
var nextPage = nextPage.next('option'), nextLevel = nextPage[0].className.split('-')[1];
|
||||
var nextPage = nextPage.next('option');
|
||||
if (nextPage.length == 0) break;
|
||||
var nextLevel = nextPage[0].className.split('-')[1];
|
||||
if ( nextLevel <= pageLevel ) {
|
||||
pageLoop = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user