From e97d03673f356d25a9bbcdf8c15256ca4690ee78 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 14 Aug 2019 15:54:10 +0800 Subject: [PATCH] Pman.Download.js --- Pman.Download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Download.js b/Pman.Download.js index 0045ca82..a0b28dd7 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -131,9 +131,9 @@ Pman.Download = function(cfg) req.onload = function( ev ) { if (req.status == 200) { - _t.success ? _t.sucess() : ''; + _t.success ? _t.success(ev) : ''; } else { - _t.failure ? _t.failure() : ''; + _t.failure ? _t.failure(ev) : ''; } } -- 2.39.2