add reference to original on monkeyPatched functions

L1270
This commit is contained in:
Inve1951 2019-03-13 18:13:43 +01:00
parent d8dff2a0eb
commit b4e7ce40a3
2 changed files with 89 additions and 88 deletions

View File

@ -1267,6 +1267,7 @@ var Utils = class {
return data.returnValue;
};
what[methodName].__monkeyPatched = true;
if (!what[methodName].__originalMethod) what[methodName].__originalMethod = origMethod;
what[methodName].displayName = "patched " + (what[methodName].displayName || methodName);
return cancel;
}

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long