a
This commit is contained in:
parent
7c7e0ecfcd
commit
60b448e876
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Edupage H4x
|
// @name Edupage H4x
|
||||||
// @namespace https://brn.systems
|
// @namespace https://brn.systems
|
||||||
// @version 0.2.25
|
// @version 0.2.26
|
||||||
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
|
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
|
||||||
// @description Gives you a bit more options on EduPage, some are broken
|
// @description Gives you a bit more options on EduPage, some are broken
|
||||||
// @author BRNSystems
|
// @author BRNSystems
|
||||||
@ -243,19 +243,9 @@
|
|||||||
if (eqav == maxEqav) {
|
if (eqav == maxEqav) {
|
||||||
return $j.origPost(url, data, success, dataType);
|
return $j.origPost(url, data, success, dataType);
|
||||||
} else {
|
} else {
|
||||||
var useZip = eqav % 2 == 1;
|
var useZip = isEmptyObject(data);
|
||||||
|
|
||||||
var cs = '';
|
var cs = '';
|
||||||
if (typeof data == "function") {
|
|
||||||
cs = '';
|
|
||||||
success = data;
|
|
||||||
} else if (typeof data == 'string') {
|
|
||||||
cs = data;
|
|
||||||
} else if (isEmptyObject(data)) {
|
|
||||||
cs = '';
|
|
||||||
} else {
|
|
||||||
cs = $j.param(data);
|
|
||||||
}
|
|
||||||
|
|
||||||
var cs0 = '';
|
var cs0 = '';
|
||||||
if (useZip) {
|
if (useZip) {
|
||||||
|
Loading…
Reference in New Issue
Block a user