Skip to content

Commit

Permalink
Merge pull request #507 from siddharthvp/morebits-fix
Browse files Browse the repository at this point in the history
morebits: add back function accidentally removed in #481
  • Loading branch information
Amorymeltzer committed Jan 23, 2019
2 parents a999149 + cd7456d commit b7da123
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions morebits.js
Original file line number Diff line number Diff line change
Expand Up @@ -2198,6 +2198,10 @@ Morebits.wiki.page = function(pageName, currentAction) {
ctx.protectCascade = !!flag;
};

this.suppressProtectWarning = function() {
ctx.suppressProtectWarning = true;
};

// Revert-related getters/setters:
this.setOldID = function(oldID) {
ctx.revertOldID = oldID;
Expand Down

0 comments on commit b7da123

Please sign in to comment.