File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ( ) ;
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 ( ) ;
You can’t perform that action at this time.
0 commit comments