Correcting a brain fart.
This commit is contained in:
j0be 2017-02-06 18:07:05 -05:00 committed by GitHub
parent a8a1c2ffb8
commit 725fcef486

View file

@ -1,5 +1,5 @@
var pd = { var pd = {
version: '1.3.0', version: '1.3.1',
bookmarkver: '1.1', bookmarkver: '1.1',
init : function() { init : function() {
pd.checks.versions(); pd.checks.versions();
@ -180,7 +180,7 @@ var pd = {
}; };
}, },
resetSorts: function () { resetSorts: function () {
pd.task.paths.sections = ['new','hot','top','controversial']; pd.task.paths.sorts = ['new','hot','top','controversial'];
}, },
bindUI: function() { bindUI: function() {
$('#pd__form').submit(function(e) { $('#pd__form').submit(function(e) {
@ -278,7 +278,7 @@ var pd = {
actions: { actions: {
page: { page: {
next: function() { next: function() {
if (pd.task.paths.sections.length > 0 && !(pd.debugging && pd.task.info.donePages > 19)) { if (pd.task.paths.sections.length > 0) {
pd.ui.updateDisplay(); pd.ui.updateDisplay();
pd.actions.page.handle(); pd.actions.page.handle();
} else { } else {
@ -399,6 +399,7 @@ var pd = {
}); });
} else { } else {
pd.task.items[0].pdDeleted = true; pd.task.items[0].pdDeleted = true;
pd.task.after = pd.task.items[0].data.name;
pd.actions.children.handleSingle(); pd.actions.children.handleSingle();
} }
}, },