Skip to content

Commit bbbcb1b

Browse files
committed
Update Easy offline.user.js
1 parent ea83807 commit bbbcb1b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Easy offline/Easy offline.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,10 +1275,10 @@
12751275
_GM_notification(i18n("postOver")+d.statusText);
12761276
},
12771277
onerror: (e) => {
1278-
_GM_notification(i18n("postError")+e.toString());
1278+
_GM_notification(i18n("postError")+(e.statusText||e.error));
12791279
},
12801280
ontimeout: (e) => {
1281-
_GM_notification(i18n("postError")+e.toString());
1281+
_GM_notification(i18n("postError")+(e.statusText||e.error));
12821282
}
12831283
});
12841284
e.preventDefault();
@@ -1309,10 +1309,10 @@
13091309
_GM_notification(i18n("postOver")+d.statusText);
13101310
},
13111311
onerror: (e) => {
1312-
_GM_notification(i18n("postError")+e.toString());
1312+
_GM_notification(i18n("postError")+(e.statusText||e.error));
13131313
},
13141314
ontimeout: (e) => {
1315-
_GM_notification(i18n("postError")+e.toString());
1315+
_GM_notification(i18n("postError")+(e.statusText||e.error));
13161316
}
13171317
});
13181318
e.preventDefault();

0 commit comments

Comments
 (0)